public ContainerTableCollection FetchByQuery(Query qry) { ContainerTableCollection coll = new ContainerTableCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ContainerTableCollection FetchAll() { ContainerTableCollection coll = new ContainerTableCollection(); Query qry = new Query(ContainerTable.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ContainerTableCollection FetchByID(object ContainerID) { ContainerTableCollection coll = new ContainerTableCollection().Where("ContainerID", ContainerID).Load(); return(coll); }