public SysPerfilCollection FetchByQuery(Query qry) { SysPerfilCollection coll = new SysPerfilCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysPerfilCollection FetchAll() { SysPerfilCollection coll = new SysPerfilCollection(); Query qry = new Query(SysPerfil.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysPerfilCollection FetchByID(object IdPerfil) { SysPerfilCollection coll = new SysPerfilCollection().Where("idPerfil", IdPerfil).Load(); return(coll); }