Click or drag to resize

MainLibraryCopySourcePropertyToTargetProperty Method

Copies the value of source property to the target property Both properties are on the same data object It works only if you: - copy from one value property to another value property - copy from one reference property to another reference property

Namespace:  Omada.OE.UtilityCodeAssembly.Library
Assembly:  Omada.OE.UtilityCodeAssembly (in Omada.OE.UtilityCodeAssembly.dll) Version: 15.0.0.0
Syntax
C#
public static void CopySourcePropertyToTargetProperty(
	DataObject dataObject,
	int sourcePropertyId,
	int targetPropertyId,
	SqlConnection dbConnection,
	SqlTransaction dbTransaction
)

Parameters

dataObject
Type: Omada.OE.ModelDataObject
The DataObject which will be updated
sourcePropertyId
Type: SystemInt32
Source property ID
targetPropertyId
Type: SystemInt32
Target property ID
dbConnection
Type: System.Data.SqlClientSqlConnection
Open database connection from context
dbTransaction
Type: System.Data.SqlClientSqlTransaction
Open database transaction from context
See Also