Skip to main content

DBIndex Members

For internal use. An index of a table.

Constructors

Name Description
DBIndex() Initializes a new instance of the DBIndex class with default settings.
DBIndex(ICollection, Boolean) Initializes a new instance of the DBIndex class with the specified settings.
DBIndex(String, ICollection, Boolean) Initializes a new instance of the DBIndex class with the specified settings.

Fields

Name Description
Columns Specifies a collection of strings that are the names of the columns comprising the DBTableMultiColumnGadget object. In the DBPrimaryKey descendant class, these columns are primary keys. In DBForeignKey, these are foreign keys. In DBIndex, these are columns comprising the index. Inherited from DBTableMultiColumnGadget.
IsUnique true if the index must be unique; otherwise, false. If the IsUnique field is set to true, an exception will be thrown when assigning an index that isn’t unique.
Name This member supports the XPO Framework infrastructure and is not intended to be used directly from your code. Inherited from DBTableMultiColumnGadget.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also