ExtensionMethods Methods |
The ExtensionMethods type exposes the following members.
Name | Description | |
---|---|---|
AddRangeT |
Add itemsToAdd to me | |
Aggregate |
Create aggregation functions
| |
AsResultSet(IEnumerable) |
As result set
| |
AsResultSetTData(IEnumerableTData) |
As result set
| |
Base32Encode |
Encodes buffer as a Base32 string
| |
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, Boolean, Boolean) |
Update property data if required
| |
ForEachT |
For each item in an enumerable
| |
GetAllTypes |
Get all types
| |
GetClassKeys |
Get all allowed class keys for the specified type
| |
GetExportedTypesSafe |
Safe method for loading exported types from assemblies where ReflectionTypeLoadException is thrown
| |
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
| |
GetSanteDBPropertyAttributeType |
Get the classifier property on type | |
GetSerializationModelProperty |
Gets the serialization runtime property
| |
GetSerializationName(PropertyInfo) |
Get the serialization name
| |
GetSerializationName(Type) |
Get the serialization type name
| |
GetSerializationRedirectProperty |
Gets the serialization runtime property
| |
HasCustomAttribute(Type, Type) |
Non generic implementation of HasCustomAttributeTAttribute(Type) | |
HasCustomAttributeTAttribute(Type) |
Returns true if t has TAttribute | |
HashCode |
Compute a basic hash string
| |
HasProperty |
Determines whether the specified property name has property.
| |
HexDecode |
Decode encodedData to a byte array
| |
HexEncode |
Convert a hex string to byte array
| |
Implements |
Determine if me implements all of interfaces | |
IsEnumerable |
True if enumerable
| |
IsNullable |
Determine if t is a nullable type
| |
IsNullOrEmpty |
Returns true if the IList is null or has no elements
| |
LoadCollectionTReturn(IAnnotatedResource, String, Boolean) |
Delay load property
| |
LoadCollectionTSource, TReturn(TSource, ExpressionFuncTSource, IEnumerableTReturn, Boolean) |
Load collection of TReturn from TSource | |
LoadProperty(IAnnotatedResource, String, Boolean) |
Delay load property
| |
LoadPropertyTReturn(IAnnotatedResource, String, Boolean) |
Delay load property
| |
LoadPropertyTSource, TReturn(TSource, ExpressionFuncTSource, TReturn, Boolean) |
Load collection of TReturn from TSource | |
OrderByTData, TKey |
Order result set
| |
OrderByDescendingTData, TKey |
Order result set
| |
ParseBase64UrlEncode |
Parse base 64 encode
| |
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
| |
StripAssociatedItemSourcesTObject |
Strips all version information from the specified object.
| |
StripGeneric |
Strips list
| |
StripNullable |
Strips any nullable typing.
| |
TransformResultSetTFrom, TTo |
As a result set
| |
ValidateTSourceType |
Validates that this object has a target entity
| |
Value |
Gets the value of a component of an EntityAddress with the given addressType.
| |
WasLoaded(IAnnotatedResource, String) |
Returns true if the property has been loaded
| |
WasLoadedTSource, TReturn(TSource, ExpressionFuncTSource, TReturn) |
Returns true if the property is loaded
|