using System; using Cpp2IlInjected; namespace System.ComponentModel { /// Provides metadata for a property representing a data field. This class cannot be inherited. // Token: 0x0200010A RID: 266 [Token(Token = "0x200010A")] [AttributeUsage(AttributeTargets.Property)] public sealed class DataObjectFieldAttribute : Attribute { /// Initializes a new instance of the class and indicates whether the field is the primary key for the data row. /// /// to indicate that the field is in the primary key of the data row; otherwise, . // Token: 0x06000680 RID: 1664 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000680")] [Address(RVA = "0x49E500", Offset = "0x49D300", VA = "0x18049E500")] public DataObjectFieldAttribute(bool primaryKey) { } /// Initializes a new instance of the class and indicates whether the field is the primary key for the data row, and whether the field is a database identity field. /// /// to indicate that the field is in the primary key of the data row; otherwise, . /// /// to indicate that the field is an identity field that uniquely identifies the data row; otherwise, . // Token: 0x06000681 RID: 1665 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000681")] [Address(RVA = "0x49E4B0", Offset = "0x49D2B0", VA = "0x18049E4B0")] public DataObjectFieldAttribute(bool primaryKey, bool isIdentity) { } /// Initializes a new instance of the class and indicates whether the field is the primary key for the data row, whether the field is a database identity field, and whether the field can be null. /// /// to indicate that the field is in the primary key of the data row; otherwise, . /// /// to indicate that the field is an identity field that uniquely identifies the data row; otherwise, . /// /// to indicate that the field can be null in the data store; otherwise, . // Token: 0x06000682 RID: 1666 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000682")] [Address(RVA = "0x49E410", Offset = "0x49D210", VA = "0x18049E410")] public DataObjectFieldAttribute(bool primaryKey, bool isIdentity, bool isNullable) { } /// Initializes a new instance of the class and indicates whether the field is the primary key for the data row, whether it is a database identity field, and whether it can be null and sets the length of the field. /// /// to indicate that the field is in the primary key of the data row; otherwise, . /// /// to indicate that the field is an identity field that uniquely identifies the data row; otherwise, . /// /// to indicate that the field can be null in the data store; otherwise, . /// The length of the field in bytes. // Token: 0x06000683 RID: 1667 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000683")] [Address(RVA = "0x49E460", Offset = "0x49D260", VA = "0x18049E460")] public DataObjectFieldAttribute(bool primaryKey, bool isIdentity, bool isNullable, int length) { } /// Gets a value indicating whether a property represents an identity field in the underlying data. /// /// if the property represents an identity field in the underlying data; otherwise, . The default value is . // Token: 0x17000125 RID: 293 // (get) Token: 0x06000684 RID: 1668 RVA: 0x00004818 File Offset: 0x00002A18 [Token(Token = "0x17000125")] public bool IsIdentity { [Token(Token = "0x6000684")] [Address(RVA = "0x49E540", Offset = "0x49D340", VA = "0x18049E540")] get { return default(bool); } } /// Gets a value indicating whether a property represents a field that can be null in the underlying data store. /// /// if the property represents a field that can be null in the underlying data store; otherwise, . // Token: 0x17000126 RID: 294 // (get) Token: 0x06000685 RID: 1669 RVA: 0x00004830 File Offset: 0x00002A30 [Token(Token = "0x17000126")] public bool IsNullable { [Token(Token = "0x6000685")] [Address(RVA = "0x49E550", Offset = "0x49D350", VA = "0x18049E550")] get { return default(bool); } } /// Gets the length of the property in bytes. /// The length of the property in bytes, or -1 if not set. // Token: 0x17000127 RID: 295 // (get) Token: 0x06000686 RID: 1670 RVA: 0x00004848 File Offset: 0x00002A48 [Token(Token = "0x17000127")] public int Length { [Token(Token = "0x6000686")] [Address(RVA = "0x495080", Offset = "0x493E80", VA = "0x180495080")] get { return 0; } } /// Gets a value indicating whether a property is in the primary key in the underlying data. /// /// if the property is in the primary key of the data store; otherwise, . // Token: 0x17000128 RID: 296 // (get) Token: 0x06000687 RID: 1671 RVA: 0x00004860 File Offset: 0x00002A60 [Token(Token = "0x17000128")] public bool PrimaryKey { [Token(Token = "0x6000687")] [Address(RVA = "0x42D5E0", Offset = "0x42C3E0", VA = "0x18042D5E0")] get { return default(bool); } } /// Returns a value indicating whether this instance is equal to a specified object. /// An object to compare with this instance of . /// /// if this instance is the same as the instance specified by the parameter; otherwise, . // Token: 0x06000688 RID: 1672 RVA: 0x00004878 File Offset: 0x00002A78 [Token(Token = "0x6000688")] [Address(RVA = "0x49E370", Offset = "0x49D170", VA = "0x18049E370", Slot = "0")] public override bool Equals(object obj) { return default(bool); } /// Returns the hash code for this instance. /// A 32-bit signed integer hash code. // Token: 0x06000689 RID: 1673 RVA: 0x00004890 File Offset: 0x00002A90 [Token(Token = "0x6000689")] [Address(RVA = "0x490530", Offset = "0x48F330", VA = "0x180490530", Slot = "2")] public override int GetHashCode() { return 0; } // Token: 0x040004A2 RID: 1186 [FieldOffset(Offset = "0x10")] [Token(Token = "0x40004A2")] private bool _primaryKey; // Token: 0x040004A3 RID: 1187 [FieldOffset(Offset = "0x11")] [Token(Token = "0x40004A3")] private bool _isIdentity; // Token: 0x040004A4 RID: 1188 [FieldOffset(Offset = "0x12")] [Token(Token = "0x40004A4")] private bool _isNullable; // Token: 0x040004A5 RID: 1189 [FieldOffset(Offset = "0x14")] [Token(Token = "0x40004A5")] private int _length; } }