Пример #1
0
        public Rolehasrights Find(Int64 id)
        {
            String        stmtId = "Rolehasrights.Find";
            Rolehasrights result = this.sqlMapper.QueryForObject <Rolehasrights>(stmtId, id);

            return(result);
        }
Пример #2
0
        public int FindCountByRoleid(Rolehasrights obj)
        {
            String stmtId = "Rolehasrights.GetFindByRoleidCount";
            int    result = this.sqlMapper.QueryForObject <int>(stmtId, obj);

            return(result);
        }
Пример #3
0
        public void Reload(Rolehasrights obj)
        {
            if (obj == null)
            {
                throw new ArgumentNullException("obj");
            }
            String stmtId = "Rolehasrights.Find";

            this.sqlMapper.QueryForObject <Rolehasrights>(stmtId, obj, obj);
        }
Пример #4
0
        public void Delete(Rolehasrights obj)
        {
            if (obj == null)
            {
                throw new ArgumentNullException("obj");
            }
            String stmtId = "Rolehasrights.Delete";

            this.sqlMapper.Delete(stmtId, obj);
        }
Пример #5
0
        public void Insert(Rolehasrights obj)
        {
            if (obj == null)
            {
                throw new ArgumentNullException("obj");
            }
            String stmtId = "Rolehasrights.Insert";

            this.sqlMapper.Insert(stmtId, obj);
        }
Пример #6
0
        public void Update(Rolehasrights obj)
        {
            String stmtId = "Rolehasrights.Update";

            this.sqlMapper.Update(stmtId, obj);
        }