public void GeneratesAndRunsProperSql() { Impl = new DapperExtensions.DapperExtensionsImpl(typeof(CustomMapper), new SqlGeneratorImpl(new SqlCeDialect())); Foo f = new Foo { FirstName = "Foo", LastName = "Bar", DateOfBirth = DateTime.UtcNow.AddYears(-20) }; Impl.Insert(Connection, f, null, null); }
public void GeneratesAndRunsProperSql() { Impl = new DapperExtensions.DapperExtensionsImpl(typeof(CustomMapper), new SqlGeneratorImpl(new SqlCeDialect())); Foo f = new Foo { FirstName = "Foo", LastName = "Bar", DateOfBirth = DateTime.UtcNow.AddYears(-20) }; Impl.Insert(Connection, f, null, null); }