ExtensionMethods Class |
Namespace: SanteDB.Core.Model
The ExtensionMethods type exposes the following members.
Name | Description | |
---|---|---|
Aggregate |
Create aggregation functions
| |
Base64UrlEncode |
Convert to base 64
| |
ConvertTReturn |
The purpose of this method is to convert object me to TReturn. Why?
Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast
so we have to copy.
| |
CopyObjectDataTObject(TObject, TObject) |
Copy object data from one object instance to another
| |
CopyObjectDataTObject(TObject, TObject, Boolean, Boolean) |
Update property data if required
| |
GetAllTypes |
Get all types
| |
GetFullName |
Gets the full name of the user entity.
| |
GetGenericMethod |
Get generic method
| |
GetMember |
Get member
| |
GetQueryName |
Get the serialization name
| |
GetQueryProperty |
Get a property based on XML property and/or serialization redirect and/or query parameter
| |
GetSerializationName(PropertyInfo) |
Get the serialization name
| |
GetSerializationName(Type) |
Get the serialization type name
| |
GetSerializationRedirectProperty |
Gets the serialization runtime property
| |
HashCode |
Compute a basic hash string
| |
HasProperty |
Determines whether the specified property name has property.
| |
Implements |
Determine if me implements all of interfaces | |
IsActive(Expression) |
Create a version filter
| |
IsActive(Expression, Object) |
Create a version filter
| |
IsEnumerable |
True if enumerable
| |
LatestVersionOnlyT |
Gets the latest version of the versioned entity data instance from a given list.
| |
LoadCollectionTReturn(IIdentifiedEntity, String, Boolean) |
Delay load property
| |
LoadCollectionTSource, TReturn(TSource, ExpressionFuncTSource, IEnumerableTReturn, Boolean) |
Load collection of TReturn from TSource | |
LoadProperty(IIdentifiedEntity, String, Boolean) |
Delay load property
| |
LoadPropertyTReturn(IIdentifiedEntity, String, Boolean) |
Delay load property
| |
LoadPropertyTSource, TReturn(TSource, ExpressionFuncTSource, TReturn, Boolean) |
Load collection of TReturn from TSource | |
ParseBase64UrlEncode |
Parse base 64 encode
| |
ParseHexString |
Convert a hex string to byte array
| |
SemanticCopyTObject |
Update property data with data from fromEntities if the property is not semantically equal
| |
SemanticCopyFieldsTObject |
Update property data with data from fromEntities if and only if the source property is null
in the original toEntity
| |
SemanticCopyNullFieldsTObject |
Update property data with data from fromEntities if the property is not semantically equal - only if the field on the inbound toEntity is null
| |
SemanticEqualsTEntity |
Determine semantic equality of each item in me and other
| |
Sort |
Create sort expression.
| |
StripAssociatedItemSourcesTObject |
Strips all version information from the specified object.
| |
StripGeneric |
Strips list
| |
StripNullable |
Strips any nullable typing.
| |
ToHexString |
Convert a hex string to byte array
| |
Value |
Get postal code
| |
WasLoaded(IIdentifiedEntity, String) |
Returns true if the property has been loaded
| |
WasLoadedTSource, TReturn(TSource, ExpressionFuncTSource, TReturn) |
Returns true if the property is loaded
|