File tree 2 files changed +12
-4
lines changed
2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 27
27
run : |
28
28
dotnet restore "./Tools/packages.csproj" --packages ./Tools
29
29
pushd src
30
- dotnet restore ./NHibernate.sln
30
+ dotnet restore ./NHibernate.sln /p:TreatWarningsAsErrors=false
31
31
dotnet $(find ./../Tools/csharpasyncgenerator.commandline -name AsyncGenerator.CommandLine.dll)
32
32
popd
33
33
Original file line number Diff line number Diff line change 1
- using NHibernate . Cfg ;
1
+ using System ;
2
+ using System . Data . Common ;
3
+ using NHibernate . Dialect . Schema ;
2
4
using NHibernate . SqlCommand ;
3
5
4
6
namespace NHibernate . Dialect
@@ -23,7 +25,13 @@ public class DB2400Dialect : DB2Dialect
23
25
{
24
26
public DB2400Dialect ( )
25
27
{
26
- DefaultProperties [ Environment . ConnectionDriver ] = "NHibernate.Driver.DB2400Driver" ;
28
+ DefaultProperties [ Cfg . Environment . ConnectionDriver ] = "NHibernate.Driver.DB2400Driver" ;
29
+ }
30
+
31
+ public override IDataBaseSchema GetDataBaseSchema ( DbConnection connection )
32
+ {
33
+ // The DB2 implementation is not valid for DB2400.
34
+ throw new NotSupportedException ( ) ;
27
35
}
28
36
29
37
public override bool SupportsSequences
@@ -61,4 +69,4 @@ public override bool SupportsVariableLimit
61
69
get { return false ; }
62
70
}
63
71
}
64
- }
72
+ }
You can’t perform that action at this time.
0 commit comments