Click or drag to resize

SanteDBConvert Methods

The SanteDBConvert type exposes the following members.

Methods
  NameDescription
Public methodStatic memberBooleanToInt
Boolean to int
Public methodStatic memberBooleanToLong
Boolean to int
Public methodStatic memberByteToGuid
Byte[] > GUID
Public methodStatic memberByteToNullGuid
Byte[] > GUID
Public methodStatic memberDateTimeOffsetToDateTime(DateTimeOffset)
DTO > DT
Public methodStatic memberDateTimeOffsetToDateTime(NullableDateTimeOffset)
DTO > DT
Public methodStatic memberDateTimeToDateTimeOffset(DateTime)
DT > DTO
Public methodStatic memberDateTimeToDateTimeOffset(NullableDateTime)
DT > DTO
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodStatic memberGuidToByte
Guid > Byte[]
Public methodStatic memberInt16ToDecimal
Convert Int16 to decimal
Public methodStatic memberInt16ToInt32
Convert int16 to 32
Public methodStatic memberInt32ToDecimal
Convert Int32 to decimal
Public methodStatic memberInt32ToInt16
Convert int16 to 32
Public methodStatic memberInt64ToDecimal
Convert Int64 to decimal
Public methodStatic memberInt64ToInt32
Convert 64-bit long to int
Public methodStatic memberIntToBoolean
Boolean to int
Public methodStatic memberLongToBoolean
Boolean to int
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic memberNullGuidToByte
Guid > Byte[]
Public methodStatic memberParseDateTime
Parse a date time from an object
Public methodStatic memberParseDateTimeOffset
Parse a date time from an object
Public methodStatic memberStringToTimespan
String to timespan
Public methodStatic memberTimeSpanToString
Timespan converted to string
Public methodStatic memberToDateTime
Parse a date time into an object
Public methodStatic memberToDateTimeOffset
Parse a date time into an object
Public methodToString (Inherited from Object.)
Top
Extension Methods
  NameDescription
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.
(Defined by ExtensionMethods.)
Top
See Also