Language

ColumnAttribute クラス

定義

プロパティがマップされるデータベース列を指定します。

[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false)]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1813:AvoidUnsealedAttributes")]
public class ColumnAttribute : Attribute
type ColumnAttribute = class
    inherit Attribute
Public Class ColumnAttribute
Inherits Attribute
継承
ColumnAttribute
属性

コンストラクター

Name 説明
ColumnAttribute()

ColumnAttribute クラスの新しいインスタンスを初期化します。

ColumnAttribute(String)

ColumnAttribute クラスの新しいインスタンスを初期化します。

プロパティ

Name 説明
Name

プロパティがマップされる列の名前。

Order

プロパティがマップされる列の 0 から始まる順序。

TypeName

プロパティがマップされる列のデータベース プロバイダー固有のデータ型。

適用対象