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

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

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

            return(coll);
        }