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