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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
ファイル: DDRoleController.cs プロジェクト: demonzhq/Mine
        public DDRoleCollection FetchAll()
        {
            DDRoleCollection coll = new DDRoleCollection();
            Query            qry  = new Query(DDRole.Schema);

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

            return(coll);
        }