| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for brokering objects
Method Summary | |
void | AddObject(object domainObject) Insert the object to the datasource |
void | BeginTransaction() |
void | CommitTransaction() |
void | DeleteObject(object domainObject) Delete the object from the datasource |
void | Flush(object domainObject) Execute the appropriate datasource command for the specified object |
void | Flush() Execute the appropriate datasource commands for all traced objects |
object | GetObject(Type type, object key) Retrieves an object from the datasource based on a single PK |
object | GetObject(Type type, object[] keys) Retrieves an object from the datasource based on a composite PK |
object | GetObject(Type type, IQuery query) Retrieves an object from the datasource based on a query. |
IList | GetObjects(Type type, IQuery query) Retrieves an object from the datasource based on a Query object |
void | RollbackTransaction() |
Method Detail |
public void AddObject(object domainObject)
public void BeginTransaction()
public void CommitTransaction()
public void DeleteObject(object domainObject)
public void Flush(object domainObject)
public void Flush()
public object GetObject(Type type, object key)
public object GetObject(Type type, object[] keys)
public object GetObject(Type type, IQuery query)
public IList GetObjects(Type type, IQuery query)
public void RollbackTransaction()
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |