EntityMetaData

Undocumented in source.
abstract
class EntityMetaData {}

Members

Functions

createEntity
Object createEntity(string entityName)

Entity factory

findEntity
const(EntityInfo) findEntity(string entityName)
Undocumented in source.
findEntity
const(EntityInfo) findEntity(TypeInfo_Class entityClass)
Undocumented in source.
findEntityForObject
const(EntityInfo) findEntityForObject(Object obj)
Undocumented in source.
generateFindAllForEntity
string generateFindAllForEntity(Dialect dialect, string entityName)
Undocumented in source.
generateFindByPkForEntity
string generateFindByPkForEntity(Dialect dialect, EntityInfo ei)
Undocumented in source.
generateFindByPkForEntity
string generateFindByPkForEntity(Dialect dialect, string entityName)
Undocumented in source.
generateInsertAllFieldsForEntity
string generateInsertAllFieldsForEntity(Dialect dialect, EntityInfo ei)
Undocumented in source.
generateInsertAllFieldsForEntity
string generateInsertAllFieldsForEntity(Dialect dialect, string entityName)
Undocumented in source.
generateInsertNoKeyForEntity
string generateInsertNoKeyForEntity(Dialect dialect, EntityInfo ei)
Undocumented in source.
generateUpdateForEntity
string generateUpdateForEntity(Dialect dialect, EntityInfo ei)
Undocumented in source.
getAllFieldList
string getAllFieldList(Dialect dialect, EntityInfo ei, bool exceptKey)
Undocumented in source.
getAllFieldList
string getAllFieldList(Dialect dialect, string entityName, bool exceptKey)
Undocumented in source.
getClassMap
const(EntityInfo[TypeInfo_Class]) getClassMap()
Undocumented in source.
getEntities
const(EntityInfo[]) getEntities()
Undocumented in source.
getEntity
const(EntityInfo) getEntity(int entityIndex)
Undocumented in source.
getEntityCount
int getEntityCount()
Undocumented in source.
getEntityMap
const(EntityInfo[string]) getEntityMap()
Undocumented in source.
getEntityName
string getEntityName(TypeInfo_Class type)
Undocumented in source. Be warned that the author may not have intended to support it.
getEntityNameForClass
string getEntityNameForClass()
Undocumented in source. Be warned that the author may not have intended to support it.
getFieldCount
int getFieldCount(EntityInfo ei, bool exceptKey)
Undocumented in source.
getPropertyValue
Variant getPropertyValue(Object obj, string propertyName)
Undocumented in source.
opApply
int opApply(int delegate(ref const EntityInfo) dg)
Undocumented in source.
opIndex
const(EntityInfo) opIndex(int index)
Undocumented in source.
opIndex
const(EntityInfo) opIndex(string entityName)
Undocumented in source.
opIndex
const(PropertyInfo) opIndex(string entityName, string propertyName)
Undocumented in source.
readAllColumns
int readAllColumns(Object obj, DataSetReader r, int startColumn)

Fills all properties of entity instance from dataset

setPropertyValue
void setPropertyValue(Object obj, string propertyName, Variant value)
Undocumented in source.
writeAllColumns
int writeAllColumns(Object obj, DataSetWriter w, int startColumn, bool exceptKey)

Puts all properties of entity instance to dataset

Properties

length
size_t length [@property getter]
Undocumented in source.

Meta