Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit e334c29

Browse files
committed
Add missing Oracle Dialect in base class
1 parent a853f7d commit e334c29

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/ServiceStack.OrmLite.Tests/OrmLiteTestBase.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using System.IO;
44
using NUnit.Framework;
55
using ServiceStack.Logging;
6+
using ServiceStack.OrmLite.Oracle;
67

78
namespace ServiceStack.OrmLite.Tests
89
{
@@ -86,9 +87,13 @@ public void TestFixtureSetUp()
8687
ConnectionString = "Server=localhost;Port=5432;User Id=test;Password=test;Database=test;Pooling=true;MinPoolSize=0;MaxPoolSize=200";
8788
return;
8889
case Dialect.SqlServerMdf:
90+
OrmLiteConfig.DialectProvider = SqlServerDialect.Provider;
8991
ConnectionString = "~/App_Data/Database1.mdf".MapAbsolutePath();
9092
ConnectionString = Config.GetDefaultConnection();
9193
return;
94+
case Dialect.Oracle:
95+
OrmLiteConfig.DialectProvider = OracleDialect.Provider;
96+
return;
9297
}
9398
}
9499

0 commit comments

Comments
 (0)