public SysParentescoCollection FetchByQuery(Query qry) { SysParentescoCollection coll = new SysParentescoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysParentescoCollection FetchAll() { SysParentescoCollection coll = new SysParentescoCollection(); Query qry = new Query(SysParentesco.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysParentescoCollection FetchByID(object IdParentesco) { SysParentescoCollection coll = new SysParentescoCollection().Where("idParentesco", IdParentesco).Load(); return(coll); }