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

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

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

            return(coll);
        }