public GuardiaMensajeCollection FetchByQuery(Query qry) { GuardiaMensajeCollection coll = new GuardiaMensajeCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public GuardiaMensajeCollection FetchAll() { GuardiaMensajeCollection coll = new GuardiaMensajeCollection(); Query qry = new Query(GuardiaMensaje.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public GuardiaMensajeCollection FetchByID(object Id) { GuardiaMensajeCollection coll = new GuardiaMensajeCollection().Where("id", Id).Load(); return(coll); }