Namespaces

Types in FluentNHibernate.Conventions.Instances

Type IIdentityInstance

Namespace FluentNHibernate.Conventions.Instances

Interfaces IIdentityInspector

Methods

Properties

Public instance methods

void Column(string column)

Adds a column to the index if columns have not yet been specified

void CustomSqlType(string sqlType)

Specify a custom SQL type
Parameters
string sqlType

SQL type

void CustomType(Type type)

Specifies a custom type for the discriminator
This is often used with IUserType
Parameters
Type type

Custom type

void CustomType(string type)

Specifies a custom type for the discriminator
This is often used with IUserType
Parameters
string type

Custom type

void CustomType<T>()

Specifies a custom type for the discriminator
This is often used with IUserType

void Default(object value)

Specifies the default value for the discriminator
Parameters
object value

Default value

void Index(string index)

Specify the index name
Parameters
string index

Index name

void Length(int length)

Specify the column length
Parameters
int length

Column length

void Nullable()

Specify the nullability of the column

void Precision(int precision)

Sets the precision for decimals
Parameters
int precision

Decimal precision

void Scale(int scale)

Specifies the scale for decimals
Parameters
int scale

Decimal scale

void UniqueKey(string columns)

Specify the unique key constraint name

Public properties

IAccessInstance Access get;

IGeneratorInstance GeneratedBy get;

IIdentityInstance Not get;