Свойство | Type | Description | |
---|---|---|---|
AllDataColsByObjAttrs | string>.IDictionary | ||
AllDataColsByObjMemberInfo | string>.IDictionary | ||
AllDataColsInOrder | IList |
||
AllObjAttrsByDataCol | string>.IDictionary | ||
AllObjMemberInfosByDataCol | MemberInfo>.IDictionary | ||
AllObjMemberInfosByObjAttr | MemberInfo>.IDictionary | ||
ClassType | |||
Constructor | |||
DataColTypesByDataCol | Type>.IDictionary | ||
DataColTypesByObjAttr | Type>.IDictionary | ||
IdDataColsByObjAttrs | string>.IDictionary | ||
IdDataColsByObjMemberInfo | string>.IDictionary | ||
IdGeneratorsByDataCol | GeneratorType>.IDictionary | ||
IdSequencesByDataCol | string>.IDictionary | ||
NonIdDataColsByObjAttrs | string>.IDictionary | ||
NonIdDataColsByObjMemberInfo | string>.IDictionary | ||
Table | string | ||
TypeName | string |
Méthode | Description | |
---|---|---|
ClassMapping ( |
Construct it from an NHibernate config's "class" node. Will not include foreign keys by default.
|
|
ClassMapping ( |
Construct it from an NHibernate config's "class" node. This allows you to skip using reflection to populate the class info, if for example your Dao doesn't use it for some reason. Will not include foreign keys by default.
|
|
ClassMapping ( |
Construct it from an NHibernate config's "class" node. This allows you to skip using reflection to populate the class info, if for example your Dao doesn't use it for some reason. This also allows you to specify whether to include many-to-one and one-to-one links as properties (may break FastDAO since the type of the attribute on the object will need to be the foreign key type (I.E. int) rather than the real object type of the relationship, which is what NHibernate expects).
|
|
ClassMapping ( string typeName, string tableName, IEnumerable |
A constructor that allows you to explicitly declare the type, table name, and column mappings, without using an XML mapping string. (e.g. if you want to store mapping info in a database)
|
|
ClassMapping ( string typeName, string tableName, IEnumerable |
A constructor that allows you to explicitly declare the type, table name, and column mappings, without using an XML mapping string. (e.g. if you want to store mapping info in a database)
|
|
ToString ( ) : string |
Returns the class mapping type name and table name.
|
Méthode | Description | |
---|---|---|
ParseColumnType ( string input ) : |
||
ParseNHibernateXML ( |
||
ReflectOnTypeInfo ( ) : void |
public ClassMapping ( |
||
hibConfNode | The XML configuration. | |
Résultat | System |
public ClassMapping ( |
||
hibConfNode | The XML configuration. | |
reflect | bool | Whether or not to use reflection to populate all the class info. |
Résultat | System |
public ClassMapping ( |
||
hibConfNode | The XML configuration. | |
reflect | bool | Whether or not to use reflection to populate all the class info. |
includeForeignKeys | bool | If true, many-to-one and one-to-one /// links will be included as properties. |
Résultat | System |
public ClassMapping ( string typeName, string tableName, IEnumerable |
||
typeName | string | The fully-qualified Class,Assembly type name for the object. |
tableName | string | The data source table name. |
colDefinitions | IEnumerable |
List of column mappings. |
Résultat | System |
public ClassMapping ( string typeName, string tableName, IEnumerable |
||
typeName | string | The fully-qualified Class,Assembly type name for the object. |
tableName | string | The data source table name. |
colDefinitions | IEnumerable |
List of column mappings. |
reflect | bool | Whether or not to use reflection to populate all the class info. |
Résultat | System |
public IDictionary |
||
Résultat | string>.IDictionary |
public IDictionary |
||
Résultat | string>.IDictionary |
public IDictionary |
||
Résultat | string>.IDictionary |
public IDictionary |
||
Résultat | MemberInfo>.IDictionary |
public IDictionary |
||
Résultat | MemberInfo>.IDictionary |
public ConstructorInfo,System.Reflection Constructor | ||
Résultat |
public IDictionary |
||
Résultat | Type>.IDictionary |
public IDictionary |
||
Résultat | Type>.IDictionary |
public IDictionary |
||
Résultat | string>.IDictionary |
public IDictionary |
||
Résultat | string>.IDictionary |
public IDictionary |
||
Résultat | GeneratorType>.IDictionary |
public IDictionary |
||
Résultat | string>.IDictionary |
public IDictionary |
||
Résultat | string>.IDictionary |
public IDictionary |
||
Résultat | string>.IDictionary |