Esempio n. 1
0
 public void TestInsertSql()
 {
     var dut = DbContextExtensions.GetSqlInsertString("lala", new string[] {"a", "b", "c"}, 5);
     Assert.That(dut.Contains("@p0"));
     Assert.That(dut.Contains("@p14"));
     Assert.That(dut.Count(x => x == '@'), Is.EqualTo(15));
     Console.WriteLine(dut);
 }