Namespaces

Types

Type PropertyMap

Namespace FluentNHibernate.Mapping

Interfaces IProperty, IAccessStrategy<T>

Methods

Properties

Public instance methods

void ColumnName(string columnName)

Parameters
string columnName

IProperty CustomSqlTypeIs(string sqlType)

Parameters
return IProperty
string sqlType

IProperty CustomTypeIs(Type type)

Specifies that a custom type (an implementation of IUserType) should be used for this property for mapping it to/from one or more database columns whose format or type doesn't match this .NET property.
Parameters
return IProperty
Type type A type which implements IUserType.

IProperty CustomTypeIs(string type)

Specifies that a custom type (an implementation of IUserType) should be used for this property for mapping it to/from one or more database columns whose format or type doesn't match this .NET property.
Parameters
return IProperty
string type A type which implements IUserType.

IProperty CustomTypeIs<TCustomtype>()

Specifies that a custom type (an implementation of IUserType) should be used for this property for mapping it to/from one or more database columns whose format or type doesn't match this .NET property.
Parameters
return IProperty

bool Equals(object obj)

Parameters
return bool
object obj

IProperty FormulaIs(string formula)

Parameters
return IProperty
string formula

int GetHashCode()

Parameters
return int

PropertyMapping GetPropertyMapping()

Parameters
return PropertyMapping

Type GetType()

Parameters
return Type

bool HasAttribute(string name)

Parameters
return bool
string name

IProperty Insert()

Parameters
return IProperty

IProperty Nullable()

Parameters
return IProperty

IProperty ReadOnly()

Parameters
return IProperty

void SetAttribute(string name, string value)

Set an attribute on the xml element produced by this property mapping.
Parameters
string name Attribute name
string value Attribute value

void SetAttributeOnColumnElement(string name, string value)

Parameters
string name
string value

void SetAttributes(Attributes atts)

Parameters
Attributes atts

string ToString()

Parameters
return string

IProperty Unique()

Parameters
return IProperty

IProperty UniqueKey(string keyName)

Specifies the name of a multi-column unique constraint.
Parameters
return IProperty
string keyName Name of constraint

IProperty Update()

Parameters
return IProperty

IProperty WithLengthOf(int length)

Parameters
return IProperty
int length

void Write(XmlElement classElement, IMappingVisitor visitor)

Parameters
XmlElement classElement
IMappingVisitor visitor

Public properties

AccessStrategyBuilder<T> Access get;

Set the access and naming strategy for this property.
return AccessStrategyBuilder<T>

ColumnNameCollection<TParent> ColumnNames get;

return ColumnNameCollection<TParent>

Type EntityType get;

return Type

int LevelWithinPosition get;

return int

IProperty Not get;

Inverts the next boolean
return IProperty

bool ParentIsRequired get;

return bool

PartPosition PositionOnDocument get;

return PartPosition

PropertyInfo Property get;

return PropertyInfo

Type PropertyType get;

return Type