public SysSupportTypeCollection FetchAll() { SysSupportTypeCollection coll = new SysSupportTypeCollection(); Query qry = new Query(SysSupportType.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public SysSupportTypeCollection FetchByQuery(Query qry) { SysSupportTypeCollection coll = new SysSupportTypeCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public SysSupportTypeCollection FetchByID(object SupportTypeId) { SysSupportTypeCollection coll = new SysSupportTypeCollection().Where("SupportType_ID", SupportTypeId).Load(); return coll; }