DomainObjects Class Library

Key Members

Key overview

Public Static Methods

New Initializes a new instance of the Key class.

Public Instance Properties

Count The number of values that comprise this Key.
Item Gets the Object at the specified index.
Value Get the database-stored value for this primary key.
ValueAsList Get the database-stored value for this primary key in the form of a list of objects.

Public Instance Methods

Equals Determines whether the specified Object is equal to the current Object.
GetEnumerator Returns an enumerator that iterates through a collection.
GetHashCode Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetIdentityString Gets a string that semantically and uniquely identifies this instance. This value should be sufficient to act as a unique key in a cache or hashtable. It's value must be immutable over the lifetime of the instance. It should be the same string value from which the hashcode for this instance is generated.
GetNaturalIdentifier Get a string that identifies this field to a person familiar with the object model. Used when an instance of this field is part of a logging or assertion statement.
GetParameterValue Get the value for this parameter.
GetType (inherited from Object)Gets the Type of the current instance.
ToString Returns a String that represents the current Object.

See Also

Key Class | DomainObjects.Facade.Domain Namespace