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

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

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

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

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

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

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