コード例 #1
0
ファイル: PnNinoController.cs プロジェクト: saludnqn/prosane
        public PnNinoCollection FetchByQuery(Query qry)
        {
            PnNinoCollection coll = new PnNinoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
ファイル: PnNinoController.cs プロジェクト: saludnqn/prosane
        public PnNinoCollection FetchAll()
        {
            PnNinoCollection coll = new PnNinoCollection();
            Query            qry  = new Query(PnNino.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #3
0
ファイル: PnNinoController.cs プロジェクト: saludnqn/prosane
        public PnNinoCollection FetchByID(object IdNino)
        {
            PnNinoCollection coll = new PnNinoCollection().Where("id_nino", IdNino).Load();

            return(coll);
        }