Field Class

Represents a database field.

Definition

Namespace: Gemstone.Data
Assembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.128 -- Release Build+cb657b646daac3e9cc5384ff42ed4530df50eab1
Inheritance
Object    Field
Implements
IComparable

Constructors

Field Creates a new Field.

Properties

AllowsNulls Get or set Allow Null flag
AutoIncrement Get or set Auto increment flag
AutoIncrementSeed Get or set Auto increment seed
AutoIncrementStep Get or set Auto increment step
DateTimePrecision Get or set date time precision
DefaultValue Get or set default value
Description Get or set description
ForeignKeys Get or set list of ForeignKeyFields
HasDefault Get or set has default value flag
IsForeignKey Get or set foreign key flag. if Field is ReferencedBy then true else false
IsPrimaryKey Get or set flag to check Field is primary key or not
MaxLength Get or set maximum length of field
Name Get Field Name
NonNullNativeValue Gets the native value for the field (SQL Encoded).
NumericPrecision Get or set numeric precision
NumericScale Get or set Numeric scale
Ordinal Get or set file ordinal
Parent Get or set Fields parent
PrimaryKeyName Get or set primary key name
PrimaryKeyOrdinal Get or set ordinal for Primary key field
ReadOnly Get or set read-only flag
ReferencedBy Get or set - check Field is reference by
SQLEncodedValue Change Field value to encoded string. It will check Type and Parent value before convert to OleDbType compatible value
SQLEscapedName Get SQL escaped name of Table
Table Get or set Field's parent Table
Type Get OleDbType Type
Unique Get or set for unique
Value Get or set value of Field

Methods

CompareTo Compare obj ordinal to current field Ordinal
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also