Skip to content

Commit 619d0b9

Browse files
committed
SQL Server CE: Ignore tests for NH-3414.
SQL Server CE does not appear to support subqueries in the ORDER BY clause.
1 parent ee0b708 commit 619d0b9

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/NHibernate.Test/NHSpecificTest/NH3414/FixtureByCode.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System.Linq;
2-
using System.Linq.Expressions;
3-
using Antlr.Runtime.Misc;
42
using NHibernate.Cfg.MappingSchema;
3+
using NHibernate.Dialect;
54
using NHibernate.Linq;
65
using NHibernate.Mapping.ByCode;
76
using NUnit.Framework;
@@ -10,6 +9,12 @@ namespace NHibernate.Test.NHSpecificTest.NH3414
109
{
1110
public class ByCodeFixture : TestCaseMappingByCode
1211
{
12+
protected override bool AppliesTo(Dialect.Dialect dialect)
13+
{
14+
// SQL Server CE does not appear to support subqueries in the ORDER BY clause.
15+
return !(dialect is MsSqlCeDialect);
16+
}
17+
1318
protected override HbmMapping GetMappings()
1419
{
1520
var mapper = new ModelMapper();

0 commit comments

Comments
 (0)