public SysSexoCollection FetchByQuery(Query qry) { SysSexoCollection coll = new SysSexoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysSexoCollection FetchAll() { SysSexoCollection coll = new SysSexoCollection(); Query qry = new Query(SysSexo.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysSexoCollection FetchByID(object IdSexo) { SysSexoCollection coll = new SysSexoCollection().Where("idSexo", IdSexo).Load(); return(coll); }