C# 클래스 FluentNHibernate.Mapping.IdentityPart

상속: IIdentityMappingProvider
파일 보기 프로젝트 열기: HudsonAkridge/fluent-nhibernate 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
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

메소드 상세

AddGeneratorParam() 공개 메소드

public AddGeneratorParam ( string name, string innerXml ) : IIdentityPart
name string
innerXml string
리턴 IIdentityPart

ColumnName() 공개 메소드

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

GetColumnName() 공개 메소드

Gets the column name
public GetColumnName ( ) : string
리턴 string

IdentityPart() 공개 메소드

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

IdentityPart() 공개 메소드

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

SetAttribute() 공개 메소드

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
리턴 void

SetAttributes() 공개 메소드

public SetAttributes ( Attributes atts ) : void
atts Attributes
리턴 void

SetGeneratorClass() 공개 메소드

public SetGeneratorClass ( string generator ) : IIdentityPart
generator string
리턴 IIdentityPart

WithUnsavedValue() 공개 메소드

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

Write() 공개 메소드

public Write ( XmlElement classElement, IMappingVisitor visitor ) : void
classElement XmlElement
visitor IMappingVisitor
리턴 void