DomainObjects Class Library

CompositeKey Members

CompositeKey overview

Public Instance Properties

Count The number of values that comprise this Key.
Item 
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 (inherited from Key) Determines whether the specified Object is equal to the current Object.
GetEnumerator Returns an enumerator that iterates through a collection.
GetHashCode (inherited from Key) 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 (inherited from Key) 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 (inherited from Key) 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 (inherited from Key) Returns a String that represents the current Object.

See Also

CompositeKey Class | DomainObjects.Facade.Domain Namespace