Пример #1
0
        public DiscountMode FromSqlDataReader(SqlDataReader reader)
        {
            DiscountMode obj = new DiscountMode();

            if (reader["id"] is DBNull == false)
            {
                obj.Id = Convert.ToByte(reader["id"]);
            }
            if (reader["name"] is DBNull == false)
            {
                obj.Name = Convert.ToString(reader["name"]);
            }
            return(obj);
        }
Пример #2
0
 public void Update(DiscountMode discountMode)
 {
     throw new NotImplementedException();
 }
Пример #3
0
 public byte Insert(DiscountMode discountMode)
 {
     throw new NotImplementedException();
 }