public void Test_Generic_BuildUpdateQuery_Includes_Where_Clause_With_Primary_Column()
 {
     RunTestOnAllDBTypes(delegate(DataBaseType type)
     {
         var objectToSql = new Services.ObjectToSql(type);
         var sql         = objectToSql.BuildQuery <EmployeeWithPrimaryKeySqlColumn>(ActionType, nameof(EmployeeWithPrimaryKeySqlColumn));
         Assert.AreEqual(sql, EmployeeWithPrimaryKeySqlColumn.ToSql(ActionType, type));
     });
 }
 public void Test_Generic_BuildInsertQuery_Does_Try_To_Insert_PrimaryKey_Column()
 {
     RunTestOnAllDBTypes(delegate(DataBaseType type)
     {
         var objectToSql = new Services.ObjectToSql(type);
         var sql         = objectToSql.BuildQuery <EmployeeWithPrimaryKeySqlColumn>(ActionType);
         Assert.AreEqual(sql, EmployeeWithPrimaryKeySqlColumn.ToSql(ActionType, type));
     });
 }