C# Class FluentNHibernate.Mapping.IdentityPart

Inheritance: IIdentityMappingProvider
Datei anzeigen Open project: HudsonAkridge/fluent-nhibernate Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method 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 method

public AddGeneratorParam ( string name, string innerXml ) : IIdentityPart
name string
innerXml string
return IIdentityPart

ColumnName() public method

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

GetColumnName() public method

Gets the column name
public GetColumnName ( ) : string
return string

IdentityPart() public method

public IdentityPart ( Type entity, PropertyInfo property ) : System
entity System.Type
property System.Reflection.PropertyInfo
return System

IdentityPart() public method

public IdentityPart ( Type entity, PropertyInfo property, string columnName ) : System
entity System.Type
property System.Reflection.PropertyInfo
columnName string
return System

SetAttribute() public method

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
return void

SetAttributes() public method

public SetAttributes ( Attributes atts ) : void
atts Attributes
return void

SetGeneratorClass() public method

public SetGeneratorClass ( string generator ) : IIdentityPart
generator string
return IIdentityPart

WithUnsavedValue() public method

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

Write() public method

public Write ( XmlElement classElement, IMappingVisitor visitor ) : void
classElement XmlElement
visitor IMappingVisitor
return void