コード例 #1
0
        public GuardiaTurneroCollection FetchByQuery(Query qry)
        {
            GuardiaTurneroCollection coll = new GuardiaTurneroCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public GuardiaTurneroCollection FetchAll()
        {
            GuardiaTurneroCollection coll = new GuardiaTurneroCollection();
            Query qry = new Query(GuardiaTurnero.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #3
0
        public GuardiaTurneroCollection FetchByID(object Nombre)
        {
            GuardiaTurneroCollection coll = new GuardiaTurneroCollection().Where("nombre", Nombre).Load();

            return(coll);
        }