public void RawSql_Multiple() { //arrange var repo = new RawSqlRepository(_connStr); //act int rows = repo.InsertRows(dtos); //assert Assert.AreEqual(dtos.Count(), rows); }
public void RawSql_Single() { //arrange var repo = new RawSqlRepository(_connStr); //act int rows = repo.InsertRows(new List <InsertTableDto> { single }); //assert Assert.AreEqual(1, rows); }
public int Insert_ADO_NET() => RawSqlRepository.InsertRows(dtoList1);