Click or drag to resize

ExtensionMethods Methods

The ExtensionMethods type exposes the following members.

Methods
 NameDescription
Public Extension MethodAddRangeT Add itemsToAdd to me
Public Extension MethodAggregate Create aggregation functions
Public Extension MethodAsResultSet(IEnumerable) As result set
Public Extension MethodAsResultSetTData(IEnumerableTData) As result set
Public Extension MethodAssemblyQualifiedNameWithoutVersion Gets an assembly qualified name without version information
Public Extension MethodBase32Encode Encodes buffer as a Base32 string
Public Extension MethodBase64UrlEncode Convert to base 64
Public Extension MethodContainsPropertyReference Searches the expression tree expression to see if there is a property reference to propertyName
Public Extension MethodConvertTReturn 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.
Public Extension MethodCopyObjectDataTObject(TObject, TObject) Copy object data from one object instance to another
Public Extension MethodCopyObjectDataTObject(TObject, TObject, Boolean, Boolean, Boolean, Boolean) Update property data if required
Public Extension MethodDelayLoadDisabled True if delay loading operations should be prevented
Public Extension MethodForEachT For each item in an enumerable
Public Extension MethodGetAllTypes Get all types
Public Extension MethodGetClassifierKeyProperty Get the classification key property for UUIDs
Public Extension MethodGetClassifierProperty Get the specified classifier property
Public Extension MethodGetClassKeys Get all allowed class keys for the specified type
Public Extension MethodGetDependentObjects Get dependent objects for model
Public Extension MethodGetExportedTypesSafe Safe method for loading exported types from assemblies where ReflectionTypeLoadException is thrown
Public Extension MethodGetFullName Gets the full name of the user entity.
Public Extension MethodGetGenericMethod Get generic method
Public Extension MethodGetMember Get member
Public Extension MethodGetQueryName Get the serialization name
Public Extension MethodGetQueryProperty Get a property based on XML property and/or serialization redirect and/or query parameter
Public Extension MethodGetResourceName Get the preferred resource name or the default resource name
Public Extension MethodGetResourceSensitivityClassification Get the resource sensitivity classification
Public Extension MethodGetResourceType Get the resource type from the serialization name
Public Extension MethodGetSanteDBPropertyAttributeType Get the classifier property on type
Public Extension MethodGetSerializationModelProperty Gets the serialization runtime property
Public Extension MethodGetSerializationName(PropertyInfo) Get the serialization name
Public Extension MethodGetSerializationName(Type) Get the serialization type name
Public Extension MethodGetSerializationRedirectProperty Gets the serialization runtime property
Public Extension MethodHarmonizeKeysTData Harmonize the keys with the delay load properties
Public Extension MethodHasCustomAttribute(PropertyInfo, Type) Non generic implementation of HasCustomAttributeTAttribute(Type)
Public Extension MethodHasCustomAttribute(Type, Type) Non generic implementation of HasCustomAttributeTAttribute(Type)
Public Extension MethodHasCustomAttributeTAttribute(PropertyInfo) Returns true if p has TAttribute
Public Extension MethodHasCustomAttributeTAttribute(Type) Returns true if t has TAttribute
Public Extension MethodHasDirectOrParentRelationshipWith Checks whether me has a direct relationship with targetEntityKey or if there exists a relationship with targetEntityKey via one of its Parent associations
Public Extension MethodHashCode Compute a basic hash string
Public Extension MethodHasProperty Determines whether the specified property name has property.
Public Extension MethodHexDecode Decode encodedData to a byte array
Public Extension MethodHexEncode Convert a hex string to byte array
Public Extension MethodImplements Determine if me implements all of interfaces
Public Extension MethodIsEnumerable True if enumerable
Public Extension MethodIsHexEncoded Determine if stringToTest is hex encoded
Public Extension MethodIsNullable Determine if t is a nullable type
Public Extension MethodIsNullOrEmpty Returns true if the IList is null or has no elements
Public Extension MethodLastModifiedGets the last modification date of the object
Public Extension MethodLoadCollectionTReturn(IAnnotatedResource, String, Boolean, IEnumerableIdentifiedData) Delay load property
Public Extension MethodLoadCollectionTSource, TReturn(TSource, ExpressionFuncTSource, IEnumerableTReturn, Boolean) Load collection of TReturn from TSource
Public Extension MethodLoadProperty(IAnnotatedResource, String, Boolean, IEnumerableIdentifiedData) Delay load property
Public Extension MethodLoadPropertyTReturn(IAnnotatedResource, String, Boolean, IEnumerableIdentifiedData) Delay load property
Public Extension MethodLoadPropertyTSource, TReturn(TSource, ExpressionFuncTSource, TReturn, Boolean, IEnumerableIdentifiedData) Load collection of TReturn from TSource
Public Extension MethodMask Masks the specified string exposing only the last digitsToDisclose or the last 20% of the identifier
Public Extension MethodNullifyEmptyCollectionsTModel Nullify all empty collections
Public Extension MethodNullifyProperties Ensure that all properties in propertiesToNullify are null
Public Extension MethodOrderByTData, TKey Order result set
Public Extension MethodOrderByDescendingTData, TKey Order result set
Public Extension MethodParseBase64UrlEncode Parse base 64 encode
Public Extension MethodParseVersion Parse the version string
Public Extension MethodPreventDelayLoad Prevent delay load
Public Extension MethodReadPascalString Read a pascal string form the stream
Public Extension MethodSemanticCopyTObject Update property data with data from fromEntities if the property is not semantically equal
Public Extension MethodSemanticCopyFieldsTObject Update property data with data from fromEntities if and only if the source property is null in the original toEntity
Public Extension MethodSemanticCopyNullFieldsTObject Update property data with data from fromEntities if the property is not semantically equal - only if the field on the inbound toEntity is null
Public Extension MethodSemanticEqualsTEntity Determine semantic equality of each item in me and other
Public Extension MethodStripAssociatedItemSourcesTObject Strips all version information from the specified object.
Public Extension MethodStripGeneric Strips list
Public Extension MethodStripNullable Strips any nullable typing.
Public Extension MethodToDictionaryIgnoringDuplicatesTSource, TKey(IEnumerableTSource, FuncTSource, TKey) Creates a DictionaryTKey, TValue from an IEnumerableT according to specified key selector function. Diplicate keys will not be added to the dictionary.
Public Extension MethodToDictionaryIgnoringDuplicatesTSource, TKey, TElement(IEnumerableTSource, FuncTSource, TKey, FuncTSource, TElement) Creates a DictionaryTKey, TValue from an IEnumerableT according to specified key selector and element selector functions. Diplicate keys will not be added to the dictionary.
Public Extension MethodToHumanReadableString Convert the exception to a human readable string
Public Extension MethodTransformResultSetTFrom, TTo As a result set
Public Extension MethodTryResolveClassConceptToType Resolves me to the appropriate RIM type based on its class key
Public Extension MethodTryResolveTypeConceptToType Resolves me to the appropriate RIM type based on its type concept key
Public Extension MethodValidateTSourceType Validates that this object has a target entity
Public Extension MethodValue Gets the value of a component of an EntityAddress with the given addressType.
Public Extension MethodWasLoaded(IAnnotatedResource, String) Returns true if the property has been loaded
Public Extension MethodWasLoadedTSource, TReturn(TSource, ExpressionFuncTSource, TReturn) Returns true if the property is loaded
Public Extension MethodWithCorrelationControl Adds correlation control onto bundle me
Public Extension MethodWritePascalString Write stringData to str
Top
See Also