Opf.Datasource.Db
Class DbSelectHandler
- Direct Known Subclasses:
- DbPolymorphicSelectHandler
- public class DbSelectHandler
- implements DbStatementHandler
Method Summary |
void | AddDirectMember(Type classType, FieldInfo classMember, string dataContainer, string dataMember) |
void | AddDirectTypeContainer(Type directType, string directDataContainer) |
void | AddForeignRelation(string parentDataContainer, string parentDataMember, string childDataContainer, string childDataMember) |
void | AddKeyDirectMember(Type classType, FieldInfo keyClassMember, string dataContainer, string dataMember) |
void | AddMemberFilter(Type classType, FieldInfo memberInfo, string dataContainer, string dataMember) |
void | AddNestedRelation(Type parentClassType, FieldInfo parentFieldInfo, Type nestedClassType) |
void | AddXToOneRelation(Type parentClassType, FieldInfo parentFieldInfo, Type nestedClassType, string parentDataContainer, string parentDataMember, string childDataContainer, string childDataMember) |
ObjectInstance | ParseResult(IDataResult dres, ObjectCache objectCache) |
DataCommand
public IDataCommand DataCommand
DbSelectHandler
public DbSelectHandler()
AddDirectMember
public void AddDirectMember(Type classType, FieldInfo classMember, string dataContainer, string dataMember)
AddDirectTypeContainer
public void AddDirectTypeContainer(Type directType, string directDataContainer)
AddForeignRelation
public void AddForeignRelation(string parentDataContainer, string parentDataMember, string childDataContainer, string childDataMember)
AddKeyDirectMember
public void AddKeyDirectMember(Type classType, FieldInfo keyClassMember, string dataContainer, string dataMember)
AddMemberFilter
public void AddMemberFilter(Type classType, FieldInfo memberInfo, string dataContainer, string dataMember)
AddNestedRelation
public void AddNestedRelation(Type parentClassType, FieldInfo parentFieldInfo, Type nestedClassType)
AddXToOneRelation
public void AddXToOneRelation(Type parentClassType, FieldInfo parentFieldInfo, Type nestedClassType, string parentDataContainer, string parentDataMember, string childDataContainer, string childDataMember)
ParseResult
public ObjectInstance ParseResult(IDataResult dres, ObjectCache objectCache)
to Class Opf.ResultInfo
to Class Opf.IDataCommand