public WorkflowCollection FetchAll() { WorkflowCollection coll = new WorkflowCollection(); Query qry = new Query(Workflow.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public WorkflowCollection FetchByQuery(Query qry) { WorkflowCollection coll = new WorkflowCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }