 | ExtensionMethodsSemanticCopyTObject Method |
Update property data with data from fromEntities if the property is not semantically equal
Namespace: SanteDBAssembly: SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.2081-alpha+0a330d5f5a5d3cb3e6e945ef530e94ac5671b49c
Syntaxpublic static TObject SemanticCopy<TObject>(
this TObject toEntity,
params TObject[] fromEntities
)
where TObject : IdentifiedData
<ExtensionAttribute>
Public Shared Function SemanticCopy(Of TObject As IdentifiedData) (
toEntity As TObject,
ParamArray fromEntities As TObject()
) As TObject
public:
[ExtensionAttribute]
generic<typename TObject>
where TObject : IdentifiedData
static TObject SemanticCopy(
TObject toEntity,
... array<TObject>^ fromEntities
)
[<ExtensionAttribute>]
static member SemanticCopy :
toEntity : 'TObject *
fromEntities : 'TObject[] -> 'TObject when 'TObject : IdentifiedDataParameters
- toEntity TObject
[Missing <param name="toEntity"/> documentation for "M:SanteDB.ExtensionMethods.SemanticCopy``1(``0,``0[])"]
- fromEntities TObject
[Missing <param name="fromEntities"/> documentation for "M:SanteDB.ExtensionMethods.SemanticCopy``1(``0,``0[])"]
Type Parameters
- TObject
[Missing <typeparam name="TObject"/> documentation for "M:SanteDB.ExtensionMethods.SemanticCopy``1(``0,``0[])"]
Return Value
TObject[Missing <returns> documentation for "M:SanteDB.ExtensionMethods.SemanticCopy``1(``0,``0[])"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
TObject. 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