public int Insert(Buyback poco) { using (var connection = new SqlConnection(ConfigurationManager.ConnectionStrings["ABS-SQL"].ConnectionString)) { return((int)connection.Insert(poco)); } }
public int Delete(Buyback poco) { throw new NotImplementedException(); }
public bool Update(Buyback poco) { throw new NotImplementedException(); }
public int Insert(Buyback poco, IDbConnection connection) { return((int)connection.Insert(poco)); }