Click or drag to resize

ExtensionMethodsCopyObjectDataTObject Method (TObject, TObject)

Copy object data from one object instance to another

Namespace:  SanteDB
Assembly:  SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.481-alpha
Syntax
public static TObject CopyObjectData<TObject>(
	this TObject toEntity,
	TObject fromEntity
)

Parameters

toEntity
Type: TObject

[Missing <param name="toEntity"/> documentation for "M:SanteDB.ExtensionMethods.CopyObjectData``1(``0,``0)"]

fromEntity
Type: TObject

[Missing <param name="fromEntity"/> documentation for "M:SanteDB.ExtensionMethods.CopyObjectData``1(``0,``0)"]

Type Parameters

TObject

[Missing <typeparam name="TObject"/> documentation for "M:SanteDB.ExtensionMethods.CopyObjectData``1(``0,``0)"]

Return Value

Type: TObject

[Missing <returns> documentation for "M:SanteDB.ExtensionMethods.CopyObjectData``1(``0,``0)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also