Syntax

C#
[SerializableAttribute]
public class PropertyAttribute

The type exposes the following members.

Public Constructors

  NameDescription
Public methodPropertyAttributePropertyAttributeNewOverloaded.

Public Methods

  NameDescription
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsDefaultAttribute
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.)
Public methodMatch
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Protected Methods

  NameDescription
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)

Public Properties

  NameDescription
Public propertyAccess
Gets or sets the access strategy for this property
(Inherited from WithAccessAttribute.)
Public propertyAccessString
Gets the access strategy string for NHibernate's mapping.
(Inherited from WithAccessAttribute.)
Public propertyCheck
From NHibernate documentation: create an SQL check constraint on either column or table
Public propertyColumn
Gets or sets the column name
Public propertyColumnType
Gets or sets the type of the column.
Public propertyCustomAccess
Gets or sets the custom access strategy
(Inherited from WithAccessAttribute.)
Public propertyFormula
Gets or sets the formula used to calculate this property
Public propertyIndex
From NHibernate documentation: specifies the name of a (multi-column) index
Public propertyInsert
Set to false to ignore this property when inserting entities of this ActiveRecord class.
Public propertyLength
Gets or sets the length of the property (for strings - nvarchar(50) )
Public propertyNotNull
Gets or sets a value indicating whether this property allow null.
Public propertySqlType
From NHibernate documentation: overrides the default column type
Public propertyTypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)
Public propertyUnique
Gets or sets a value indicating whether this PropertyAttribute is unique.
Public propertyUniqueKey
From NHibernate documentation: A unique-key attribute can be used to group columns in a single unit key constraint.
Public propertyUpdate
Set to false to ignore this property when updating entities of this ActiveRecord class.

See Also