Ejemplo n.º 1
0
        public MamMaterialCollection FetchByQuery(Query qry)
        {
            MamMaterialCollection coll = new MamMaterialCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 2
0
        public MamMaterialCollection FetchAll()
        {
            MamMaterialCollection coll = new MamMaterialCollection();
            Query qry = new Query(MamMaterial.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 3
0
        public MamMaterialCollection FetchByID(object IdMaterial)
        {
            MamMaterialCollection coll = new MamMaterialCollection().Where("idMaterial", IdMaterial).Load();

            return(coll);
        }