C# Class FluentNHibernate.Mapping.IdentityPart

Inheritance: IIdentityMappingProvider
Afficher le fichier Open project: HudsonAkridge/fluent-nhibernate Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
AddGeneratorParam ( string name, string innerXml ) : IIdentityPart
ColumnName ( string columnName ) : IIdentityPart

Sets the column name for the identity field.

GetColumnName ( ) : string

Gets the column name

IdentityPart ( Type entity, PropertyInfo property ) : System
IdentityPart ( Type entity, PropertyInfo property, string columnName ) : System
SetAttribute ( string name, string value ) : void

Set an attribute on the xml element produced by this identity mapping.

SetAttributes ( Attributes atts ) : void
SetGeneratorClass ( string generator ) : IIdentityPart
WithUnsavedValue ( object unsavedValue ) : IIdentityPart

Sets the unsaved-value of the identity.

Write ( XmlElement classElement, IMappingVisitor visitor ) : void

Method Details

AddGeneratorParam() public méthode

public AddGeneratorParam ( string name, string innerXml ) : IIdentityPart
name string
innerXml string
Résultat IIdentityPart

ColumnName() public méthode

Sets the column name for the identity field.
public ColumnName ( string columnName ) : IIdentityPart
columnName string Column name
Résultat IIdentityPart

GetColumnName() public méthode

Gets the column name
public GetColumnName ( ) : string
Résultat string

IdentityPart() public méthode

public IdentityPart ( Type entity, PropertyInfo property ) : System
entity System.Type
property System.Reflection.PropertyInfo
Résultat System

IdentityPart() public méthode

public IdentityPart ( Type entity, PropertyInfo property, string columnName ) : System
entity System.Type
property System.Reflection.PropertyInfo
columnName string
Résultat System

SetAttribute() public méthode

Set an attribute on the xml element produced by this identity mapping.
public SetAttribute ( string name, string value ) : void
name string Attribute name
value string Attribute value
Résultat void

SetAttributes() public méthode

public SetAttributes ( Attributes atts ) : void
atts Attributes
Résultat void

SetGeneratorClass() public méthode

public SetGeneratorClass ( string generator ) : IIdentityPart
generator string
Résultat IIdentityPart

WithUnsavedValue() public méthode

Sets the unsaved-value of the identity.
public WithUnsavedValue ( object unsavedValue ) : IIdentityPart
unsavedValue object Value that represents an unsaved value.
Résultat IIdentityPart

Write() public méthode

public Write ( XmlElement classElement, IMappingVisitor visitor ) : void
classElement XmlElement
visitor IMappingVisitor
Résultat void