Namespaces

Types in FluentNHibernate.Mapping

Type NaturalIdPart<T>

Namespace FluentNHibernate.Mapping

Interfaces INaturalIdMappingProvider

Methods

Properties

Public instance methods

NaturalIdPart<T> Property(Expression<Func<T, object>> expression, string columnName)

Defines a property to be used for this natural-id with an explicit column name.
Parameters
Expression<Func<T, object>> expression

A member access lambda expression for the property

string columnName

The column name in the database to use for this natural id, or null to use the property name

Return
NaturalIdPart<T>

The natural id part fluent interface

NaturalIdPart<T> Property(Expression<Func<T, object>> expression)

Defines a property to be used for this natural-id.
Parameters
Expression<Func<T, object>> expression

A member access lambda expression for the property

Return
NaturalIdPart<T>

The natural id part fluent interface

NaturalIdPart<T> Reference(Expression<Func<T, object>> expression, string columnName)

Defines a reference to be used as a many-to-one key for this natural-id with an explicit column name.
Parameters
Expression<Func<T, object>> expression

A member access lambda expression for the property

string columnName

The column name in the database to use for this key, or null to use the property name

Return
NaturalIdPart<T>

The natural id part fluent interface

Public properties

NaturalIdPart<T> Not get;

Inverts the next boolean operation