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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
ファイル: NhaCungCapController.cs プロジェクト: kieuphi/test
        public NhaCungCapCollection FetchAll()
        {
            NhaCungCapCollection coll = new NhaCungCapCollection();
            Query qry = new Query(NhaCungCap.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #3
0
ファイル: NhaCungCapController.cs プロジェクト: kieuphi/test
        public NhaCungCapCollection FetchByID(object MaNCC)
        {
            NhaCungCapCollection coll = new NhaCungCapCollection().Where("MaNCC", MaNCC).Load();

            return(coll);
        }