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

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

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

            return(coll);
        }