ColumnAttribute ClassNemiro.Data.dll
Attribute indicates that the property implements a table field.
Inheritance Hierarchy

System Object
  System Attribute
    Nemiro.Data ColumnAttribute

Namespace: Nemiro.Data
Assembly: Nemiro.Data (in Nemiro.Data.dll) Version: 2.11.4.126 (2.11.4.126)
Syntax

public class ColumnAttribute : Attribute

The ColumnAttribute type exposes the following members.

Constructors

  NameDescription
Public methodColumnAttribute(String, SqlDbType)
Initializes a new instance of the ColumnAttribute class with specifying the field name and data type of SQL Server.
Public methodColumnAttribute(String, Object)
Initializes a new instance of the ColumnAttribute class with specifying the field name and data type.
Public methodColumnAttribute(String, SqlDbType, ColumnAttributeFlags)
Initializes a new instance of the ColumnAttribute class with specifying the field name, data type of SQL Server and flags.
Public methodColumnAttribute(String, Object, ColumnAttributeFlags)
Initializes a new instance of the ColumnAttribute class with specifying the field name, data type and flags..
Public methodColumnAttribute(String, Object, ColumnAttributeFlags, Int32, Object)
Initializes a new instance of the ColumnAttribute class.
Top
Methods

  NameDescription
Public methodEquals (Inherited from Attribute.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Attribute.)
Protected methodGetSqlEmptyValue
Returns empty value.
Protected methodGetSqlParameter
Returns the SQL Server parameter.
Public methodGetType (Inherited from Object.)
Protected methodGetValidParameterValue
Returns valid parameter value.
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodMatch (Inherited from Attribute.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodSetOwner
Set parent class.
Public methodToString (Inherited from Object.)
Top
Properties

  NameDescription
Protected propertyAllowNull
Flags contains AllowNull or not.
Public propertyColumnName
Name field of database table.
Public propertyDataType
Data type field of database table. You can use SqlDbType.
Public propertyDefault
Default value.
Public propertyDisplayName
Display name.
Public propertyFlags
Field flags. Is bitmask of ColumnAttributeFlags.
Protected propertyIsIdentity
Flags contains Identity or not.
Protected propertyIsPrimaryKey
Flags contains PrimaryKey or not.
Protected propertyIsSql
Is SQL server or not.
Protected propertyIsUnique
Flags contains Unique or not.
Protected propertyOwnerClass
Parent class instance.
Protected propertyOwnerClassType
Type of parent class.
Protected propertyParameterName
Parameter name for database. For example: @col_name.
Public propertySize
Maximum field size (in bytes). Zero - no restrictions (default).
Protected propertySqlDbType
SQL Server data type.
Public propertyTypeId (Inherited from Attribute.)
Top
See Also