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