SchemaInfo

Undocumented in source.

Members

Functions

generateFindAllForEntity
string generateFindAllForEntity(Dialect dialect, string entityName)
Undocumented in source. Be warned that the author may not have intended to support it.
generateFindByPkForEntity
string generateFindByPkForEntity(Dialect dialect, EntityInfo ei)
Undocumented in source. Be warned that the author may not have intended to support it.
generateFindByPkForEntity
string generateFindByPkForEntity(Dialect dialect, string entityName)
Undocumented in source. Be warned that the author may not have intended to support it.
generateInsertAllFieldsForEntity
string generateInsertAllFieldsForEntity(Dialect dialect, EntityInfo ei)
Undocumented in source. Be warned that the author may not have intended to support it.
generateInsertAllFieldsForEntity
string generateInsertAllFieldsForEntity(Dialect dialect, string entityName)
Undocumented in source. Be warned that the author may not have intended to support it.
generateInsertNoKeyForEntity
string generateInsertNoKeyForEntity(Dialect dialect, EntityInfo ei)
Undocumented in source. Be warned that the author may not have intended to support it.
generateUpdateForEntity
string generateUpdateForEntity(Dialect dialect, EntityInfo ei)
Undocumented in source. Be warned that the author may not have intended to support it.
getAllFieldList
string getAllFieldList(Dialect dialect, EntityInfo ei, bool exceptKey)
Undocumented in source. Be warned that the author may not have intended to support it.
getAllFieldList
string getAllFieldList(Dialect dialect, string entityName, bool exceptKey)
Undocumented in source. Be warned that the author may not have intended to support it.
getAllFieldListForUpdate
string getAllFieldListForUpdate(Dialect dialect, EntityInfo ei, bool exceptKey)
Undocumented in source. Be warned that the author may not have intended to support it.
getAllFieldPlaceholderList
string getAllFieldPlaceholderList(EntityInfo ei, bool exceptKey)
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. Be warned that the author may not have intended to support it.
getPropertyValue
Variant getPropertyValue(Object obj, string propertyName)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
const(EntityInfo) opIndex(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
const(EntityInfo) opIndex(string entityName)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
const(PropertyInfo) opIndex(string entityName, string propertyName)
Undocumented in source. Be warned that the author may not have intended to support it.
readAllColumns
int readAllColumns(Object obj, DataSetReader r, int startColumn)
Undocumented in source. Be warned that the author may not have intended to support it.
setPropertyValue
void setPropertyValue(Object obj, string propertyName, Variant value)
Undocumented in source. Be warned that the author may not have intended to support it.
writeAllColumns
int writeAllColumns(Object obj, DataSetWriter w, int startColumn, bool exceptKey)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

length
size_t length [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From EntityMetaData

length
size_t length [@property getter]
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.
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.
opApply
int opApply(int delegate(ref const EntityInfo) dg)
Undocumented in source.
getEntities
const(EntityInfo[]) getEntities()
Undocumented in source.
getEntityMap
const(EntityInfo[string]) getEntityMap()
Undocumented in source.
getClassMap
const(EntityInfo[TypeInfo_Class]) getClassMap()
Undocumented in source.
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.
getEntity
const(EntityInfo) getEntity(int entityIndex)
Undocumented in source.
getEntityCount
int getEntityCount()
Undocumented in source.
createEntity
Object createEntity(string entityName)

Entity factory

readAllColumns
int readAllColumns(Object obj, DataSetReader r, int startColumn)

Fills all properties of entity instance from dataset

writeAllColumns
int writeAllColumns(Object obj, DataSetWriter w, int startColumn, bool exceptKey)

Puts all properties of entity instance to dataset

generateFindAllForEntity
string generateFindAllForEntity(Dialect dialect, string entityName)
Undocumented in source.
getFieldCount
int getFieldCount(EntityInfo ei, bool exceptKey)
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.
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.
getPropertyValue
Variant getPropertyValue(Object obj, string propertyName)
Undocumented in source.
setPropertyValue
void setPropertyValue(Object obj, string propertyName, Variant value)
Undocumented in source.

Meta