Skip to content

Commit 227a0ad

Browse files
authored
Remove unused NH21 build condition (#673)
+semver:patch
1 parent 223392a commit 227a0ad

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

src/FluentNHibernate/Cfg/Db/SQLAnywhereConfiguration.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,14 @@ public class SQLAnywhereConfiguration : PersistenceConfiguration<SQLAnywhereConf
77
{
88
protected SQLAnywhereConfiguration()
99
{
10-
#if NH21
11-
Driver<ASA10ClientDriver>();
12-
#else
1310
Driver<SybaseSQLAnywhereDriver>();
14-
#endif
1511
}
1612

1713
public static SQLAnywhereConfiguration SQLAnywhere9 => new SQLAnywhereConfiguration().Dialect<SybaseASA9Dialect>();
1814

19-
#if !NH21
2015
public static SQLAnywhereConfiguration SQLAnywhere10 => new SQLAnywhereConfiguration().Dialect<SybaseSQLAnywhere10Dialect>();
2116

2217
public static SQLAnywhereConfiguration SQLAnywhere11 => new SQLAnywhereConfiguration().Dialect<SybaseSQLAnywhere11Dialect>();
23-
#endif
2418

2519
public static SQLAnywhereConfiguration SQLAnywhere12 => new SQLAnywhereConfiguration().Dialect<SybaseSQLAnywhere12Dialect>().Driver<SybaseSQLAnywhereDotNet4Driver>();
2620

src/FluentNHibernate/Cfg/FluentConfiguration.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ internal FluentConfiguration()
4040
internal FluentConfiguration(Configuration cfg)
4141
{
4242
this.Configuration = cfg;
43-
44-
#if NH21
45-
this.ProxyFactoryFactory(DefaultProxyFactoryFactoryClassName);
46-
#endif
4743
}
4844

4945
internal Configuration Configuration { get; }

0 commit comments

Comments
 (0)