public long Insert(Customer customer) { using (var cn = GetOpenConnection()) { return cn.Insert<Customer>(customer); } }
public void Delete(Customer customer) { using (var cn = GetOpenConnection()) { cn.Delete<Customer>(customer); } }
public long Insert(Customer customer) { using (var cn = GetOpenConnection()) { return cn.Insert<Customer>(customer); } }
public void Delete(Customer customer) { using (var cn = GetOpenConnection()) { cn.Delete<Customer>(customer); } }