public Rightgrouphasrights Find(Int64 id)
        {
            String stmtId = "Rightgrouphasrights.Find";
            Rightgrouphasrights result = this.sqlMapper.QueryForObject <Rightgrouphasrights>(stmtId, id);

            return(result);
        }
        public int FindCountByGroupid(Rightgrouphasrights obj)
        {
            String stmtId = "Rightgrouphasrights.GetFindByGroupidCount";
            int    result = this.sqlMapper.QueryForObject <int>(stmtId, obj);

            return(result);
        }
        public void Reload(Rightgrouphasrights obj)
        {
            if (obj == null)
            {
                throw new ArgumentNullException("obj");
            }
            String stmtId = "Rightgrouphasrights.Find";

            this.sqlMapper.QueryForObject <Rightgrouphasrights>(stmtId, obj, obj);
        }
        public void Delete(Rightgrouphasrights obj)
        {
            if (obj == null)
            {
                throw new ArgumentNullException("obj");
            }
            String stmtId = "Rightgrouphasrights.Delete";

            this.sqlMapper.Delete(stmtId, obj);
        }
        public void Update(Rightgrouphasrights obj)
        {
            String stmtId = "Rightgrouphasrights.Update";

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