public SysEfectorCollection FetchByQuery(Query qry) { SysEfectorCollection coll = new SysEfectorCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysEfectorCollection FetchAll() { SysEfectorCollection coll = new SysEfectorCollection(); Query qry = new Query(SysEfector.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysEfectorCollection FetchByID(object IdEfector) { SysEfectorCollection coll = new SysEfectorCollection().Where("idEfector", IdEfector).Load(); return(coll); }