- copyAllProperties
void copyAllProperties(Object to, Object from)
Undocumented in source. Be warned that the author may not have intended to support it.
- createEntity
Object createEntity()
create instance of entity object (using default constructor)
- findProperty
const(PropertyInfo) findProperty(string propertyName)
returns property by name, throws exception if not found
- getKey
Variant getKey(Object obj)
returns key value as Variant from entity instance
- getKey
Variant getKey(DataSetReader r, int startColumn)
returns key value as Variant from data set
- getKeyProperty
const(PropertyInfo) getKeyProperty()
returns property info for key property
- getProperties
const(PropertyInfo[]) getProperties()
returns all properties as array
- getProperty
const(PropertyInfo) getProperty(int propertyIndex)
returns property by index
- getPropertyCount
ulong getPropertyCount()
returns number of properties
- getPropertyCountExceptKey
ulong getPropertyCountExceptKey()
returns number of properties
- getPropertyMap
const(PropertyInfo[string]) getPropertyMap()
returns map of property name to property metadata
- getPropertyValue
Variant getPropertyValue(Object obj, string propertyName)
returns property value as Variant
- isKeyNull
bool isKeyNull(DataSetReader r, int startColumn)
checks if primary key is set (for non-nullable member types like int or long, 0 is considered as non-set)
- isKeySet
bool isKeySet(Object obj)
checks if primary key is set (for non-nullable member types like int or long, 0 is considered as non-set)
- isNull
bool isNull(Object obj)
checks if property value is null
- opApply
int opApply(int delegate(ref const PropertyInfo) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
- opIndex
const(PropertyInfo) opIndex(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
- opIndex
const(PropertyInfo) opIndex(string propertyName)
Undocumented in source. Be warned that the author may not have intended to support it.
- setKey
void setKey(Object obj, Variant value)
sets key value from Variant
- setPropertyValue
void setPropertyValue(Object obj, string propertyName, Variant value)
sets property value from Variant
Metadata of single entity