System.ComponentModel.DataObjectFieldAttribute public sealed class DataObjectFieldAttribute : Attribute Documentation public bool IsIdentity { get; } public bool IsNullable { get; } public int Length { get; } public bool PrimaryKey { get; } public DataObjectFieldAttribute(bool primaryKey) public DataObjectFieldAttribute(bool primaryKey, bool isIdentity) public DataObjectFieldAttribute(bool primaryKey, bool isIdentity, bool isNullable) public DataObjectFieldAttribute(bool primaryKey, bool isIdentity, bool isNullable, int length)