Example #1
0
        public Cautiontype Find(Int64 id)
        {
            String      stmtId = "Cautiontype.Find";
            Cautiontype result = this.sqlMapper.QueryForObject <Cautiontype>(stmtId, id);

            return(result);
        }
Example #2
0
        public int FindCountByTypename(Cautiontype obj)
        {
            String stmtId = "Cautiontype.GetFindByTypenameCount";
            int    result = this.sqlMapper.QueryForObject <int>(stmtId, obj);

            return(result);
        }
Example #3
0
        public void Reload(Cautiontype obj)
        {
            if (obj == null)
            {
                throw new ArgumentNullException("obj");
            }
            String stmtId = "Cautiontype.Find";

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

            this.sqlMapper.Delete(stmtId, obj);
        }
Example #5
0
        public void Insert(Cautiontype obj)
        {
            if (obj == null)
            {
                throw new ArgumentNullException("obj");
            }
            String stmtId = "Cautiontype.Insert";

            this.sqlMapper.Insert(stmtId, obj);
        }
Example #6
0
        public void Update(Cautiontype obj)
        {
            String stmtId = "Cautiontype.Update";

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