C# 클래스 NHibernate.Mapping.Column

상속: ISelectable, ICloneable
파일 보기 프로젝트 열기: nhibernate/nhibernate-core 1 사용 예제들

공개 메소드들

메소드 설명
Clone ( ) : object

Shallow copy, the value is not copied

Column ( ) : System

Initializes a new instance of Column.

Column ( string columnName ) : System

Initializes a new instance of Column.

Equals ( Column column ) : bool

Determines if this instance of Column and the specified Column can be considered the same.

Equals ( object obj ) : bool

Determines if this instance of Column and a specified object, which must be a Column can be considered the same.

GetAlias ( Dialect dialect ) : string

For any column name, generate an alias that is unique to that column name, and also take Dialect.MaxAliasLength into account.

GetAlias ( Dialect dialect, NHibernate.Mapping.Table table ) : string
GetHashCode ( ) : int

Returns the hash code for this instance.

GetQuotedName ( ) : string

returns quoted name as it would be in the mapping file.

GetQuotedName ( Dialect d ) : string

Gets the name of this Column in quoted form if it is necessary.

GetSqlType ( Dialect dialect, IMapping mapping ) : string

Gets the name of the data type for the column.

If the mapping file contains a value of the attribute sql-type this will return the string contained in that attribute. Otherwise it will use the typename from the Dialect.Dialect of the SqlType object.

GetSqlTypeCode ( IMapping mapping ) : NHibernate.SqlTypes.SqlType
GetTemplate ( Dialect dialect, NHibernate.Dialect.Function.SQLFunctionRegistry functionRegistry ) : string
GetText ( Dialect dialect ) : string
IsCaracteristicsDefined ( ) : bool
IsLengthDefined ( ) : bool
IsPrecisionDefined ( ) : bool
ToString ( ) : string

비공개 메소드들

메소드 설명
GetAlias ( int maxAliasLength ) : string
GetDialectTypeName ( Dialect dialect, IMapping mapping ) : string

메소드 상세

Clone() 공개 메소드

Shallow copy, the value is not copied
public Clone ( ) : object
리턴 object

Column() 공개 메소드

Initializes a new instance of Column.
public Column ( ) : System
리턴 System

Column() 공개 메소드

Initializes a new instance of Column.
public Column ( string columnName ) : System
columnName string The name of the column.
리턴 System

Equals() 공개 메소드

Determines if this instance of Column and the specified Column can be considered the same.
public Equals ( Column column ) : bool
column Column A to compare to this Column.
리턴 bool

Equals() 공개 메소드

Determines if this instance of Column and a specified object, which must be a Column can be considered the same.
public Equals ( object obj ) : bool
obj object An that should be a .
리턴 bool

GetAlias() 공개 메소드

For any column name, generate an alias that is unique to that column name, and also take Dialect.MaxAliasLength into account.
public GetAlias ( Dialect dialect ) : string
dialect Dialect
리턴 string

GetAlias() 공개 메소드

public GetAlias ( Dialect dialect, NHibernate.Mapping.Table table ) : string
dialect Dialect
table NHibernate.Mapping.Table
리턴 string

GetHashCode() 공개 메소드

Returns the hash code for this instance.
public GetHashCode ( ) : int
리턴 int

GetQuotedName() 공개 메소드

returns quoted name as it would be in the mapping file.
public GetQuotedName ( ) : string
리턴 string

GetQuotedName() 공개 메소드

Gets the name of this Column in quoted form if it is necessary.
public GetQuotedName ( Dialect d ) : string
d Dialect /// The that knows how to quote /// the column name. ///
리턴 string

GetSqlType() 공개 메소드

Gets the name of the data type for the column.
If the mapping file contains a value of the attribute sql-type this will return the string contained in that attribute. Otherwise it will use the typename from the Dialect.Dialect of the SqlType object.
public GetSqlType ( Dialect dialect, IMapping mapping ) : string
dialect Dialect The to use to get the valid data types.
mapping IMapping
리턴 string

GetSqlTypeCode() 공개 메소드

public GetSqlTypeCode ( IMapping mapping ) : NHibernate.SqlTypes.SqlType
mapping IMapping
리턴 NHibernate.SqlTypes.SqlType

GetTemplate() 공개 메소드

public GetTemplate ( Dialect dialect, NHibernate.Dialect.Function.SQLFunctionRegistry functionRegistry ) : string
dialect Dialect
functionRegistry NHibernate.Dialect.Function.SQLFunctionRegistry
리턴 string

GetText() 공개 메소드

public GetText ( Dialect dialect ) : string
dialect Dialect
리턴 string

IsCaracteristicsDefined() 공개 메소드

public IsCaracteristicsDefined ( ) : bool
리턴 bool

IsLengthDefined() 공개 메소드

public IsLengthDefined ( ) : bool
리턴 bool

IsPrecisionDefined() 공개 메소드

public IsPrecisionDefined ( ) : bool
리턴 bool

ToString() 공개 메소드

public ToString ( ) : string
리턴 string