File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -30,9 +30,9 @@ protected override string MappingsAssembly
30
30
31
31
protected override bool AppliesTo ( Dialect . Dialect dialect )
32
32
{
33
- // Hacky mapping causing the primary key to reference itself as a foreign key, which is not supported by MySQL. It
34
- // fails when trying to insert data by considering the foreign key violated.
35
- return ! ( Dialect is MySQLDialect ) ;
33
+ // Hacky mapping causing the primary key to reference itself as a foreign key, which is not supported by
34
+ // some databases. It fails when trying to insert data by considering the foreign key violated.
35
+ return ! ( Dialect is MySQLDialect || Dialect is SapSQLAnywhere17Dialect ) ;
36
36
}
37
37
38
38
[ Test ]
@@ -64,4 +64,4 @@ public async Task LoadCollectionAsync()
64
64
}
65
65
}
66
66
}
67
- }
67
+ }
Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ protected override string MappingsAssembly
19
19
20
20
protected override bool AppliesTo ( Dialect . Dialect dialect )
21
21
{
22
- // Hacky mapping causing the primary key to reference itself as a foreign key, which is not supported by MySQL. It
23
- // fails when trying to insert data by considering the foreign key violated.
24
- return ! ( Dialect is MySQLDialect ) ;
22
+ // Hacky mapping causing the primary key to reference itself as a foreign key, which is not supported by
23
+ // some databases. It fails when trying to insert data by considering the foreign key violated.
24
+ return ! ( Dialect is MySQLDialect || Dialect is SapSQLAnywhere17Dialect ) ;
25
25
}
26
26
27
27
[ Test ]
@@ -53,4 +53,4 @@ public void LoadCollection()
53
53
}
54
54
}
55
55
}
56
- }
56
+ }
You can’t perform that action at this time.
0 commit comments