DomainObjects Class Library

Query.FindObjectByPrimaryKey Method

Retrieves a persistable object by its primary key.

Overload List

Retrieves a persistable object by its primary key.

public static ClassToFind FindObjectByPrimaryKey<ClassToFind>(Key); where ClassToFind: PersistableObject

Retrieves a persistable object by its primary key.

public static ClassToFind FindObjectByPrimaryKey<ClassToFind>(params Object[]); where ClassToFind: PersistableObject

See Also

Query Class | DomainObjects.Facade.Command Namespace