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