Click or drag to resize

DataObjectControllerCreateDataObjectFromTemplate Method (Int32, Int32, Int32, Boolean, SqlConnection, SqlTransaction)

Method creates a new data object of the specified type. The property values of the specified template object will be copied to the new data object based on the settings of the specified copy rule.

Namespace:  Omada.OE.AppLogic
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public static int CreateDataObjectFromTemplate(
	int templateDataObjectId,
	int newDataObjectTypeId,
	int copyRuleId,
	bool skipCreateEvents,
	SqlConnection dbConnection,
	SqlTransaction dbTransaction
)

Parameters

templateDataObjectId
Type: SystemInt32
newDataObjectTypeId
Type: SystemInt32
copyRuleId
Type: SystemInt32
skipCreateEvents
Type: SystemBoolean
dbConnection
Type: System.Data.SqlClientSqlConnection
dbTransaction
Type: System.Data.SqlClientSqlTransaction

Return Value

Type: Int32
See Also