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); }
public void Update(DiscountMode discountMode) { throw new NotImplementedException(); }
public byte Insert(DiscountMode discountMode) { throw new NotImplementedException(); }