Opf.Maps
Class ClassMap
- public class ClassMap
The ClassMap is the in memory representation of a object relational class map.
A consists off:
* class field to database column mapping
* class field to public property mapping
* class relations
- summary
The ClassMap is the in memory representation of a object relational class map.
A consists off:
* class field to database column mapping
* class field to public property mapping
* class relations
Constructor Summary |
ClassMap(string className) Constructor where type is not loaded yet |
ClassType
public Type ClassType
DataContainers
public string[] DataContainers
DataMembers
public string[] DataMembers
DirectDataContainer
public string DirectDataContainer
DirectMemberMaps
public IList DirectMemberMaps
ForeignRelations
public IList ForeignRelations
HasChildClassMaps
public bool HasChildClassMaps
KeyClassMember
public FieldInfo KeyClassMember
KeyDataMember
public string KeyDataMember
KeyDataMembers
public string[] KeyDataMembers
Name
public string Name
Namespace qualified class name
- summary
Namespace qualified class name
NestedRelations
public IList NestedRelations
XToOneRelations
public IList XToOneRelations
ClassMap
public ClassMap(string className)
Constructor where type is not loaded yet
- Parameters:
- The classname with namespace
- summary
Constructor where type is not loaded yet
AddMemberMap
public void AddMemberMap(string privateName, string publicName, string dataContainer, string dataMember)
AddMemberMap
public void AddMemberMap(string privateName, string publicName, string dataContainer, string dataMember, bool isKey)
FillCustomerInfo
public void FillCustomerInfo()
GetMemberValue
public string GetMemberValue(string memberName)
GetObjectKey
public object[] GetObjectKey(object domainObject)
to Class Opf.MemberMap