SanteDBConvert Class |
Namespace: SanteDB.Core.Model.Map
The SanteDBConvert type exposes the following members.
Name | Description | |
---|---|---|
SanteDBConvert | Initializes a new instance of the SanteDBConvert class |
Name | Description | |
---|---|---|
BooleanToInt |
Boolean to int
| |
ByteToGuid |
Byte[] > GUID
| |
ByteToNullGuid |
Byte[] > GUID
| |
DateTimeOffsetToDateTime(DateTimeOffset) |
DTO > DT
| |
DateTimeOffsetToDateTime(NullableDateTimeOffset) |
DTO > DT
| |
DateTimeToDateTimeOffset(DateTime) |
DT > DTO
| |
DateTimeToDateTimeOffset(NullableDateTime) |
DT > DTO
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GuidToByte |
Guid > Byte[]
| |
Int16ToDecimal |
Convert Int16 to decimal
| |
Int16ToInt32 |
Convert int16 to 32
| |
Int32ToDecimal |
Convert Int32 to decimal
| |
Int32ToInt16 |
Convert int16 to 32
| |
Int64ToDecimal |
Convert Int64 to decimal
| |
Int64ToInt32 |
Convert 64-bit long to int
| |
IntToBoolean |
Boolean to int
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NullGuidToByte |
Guid > Byte[]
| |
ParseDateTime |
Parse a date time from an object
| |
ParseDateTimeOffset |
Parse a date time from an object
| |
StringToTimespan |
String to timespan
| |
TimeSpanToString |
Timespan converted to string
| |
ToDateTime |
Parse a date time into an object
| |
ToDateTimeOffset |
Parse a date time into an object
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
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.
(Defined by ExtensionMethods.) | |
GetInstanceOfTDomain |
Gets an instance of TDomain from me
(Defined by ModelExtensions.) |