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

Commit 349f4b3

Browse files
committed
Force initialization of SS.Text static ctor
1 parent 493ceee commit 349f4b3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ServiceStack.OrmLite/OrmLiteConnectionFactory.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using System.Collections.Generic;
33
using System.Data;
44
using ServiceStack.Data;
5+
using ServiceStack.Text;
56

67
namespace ServiceStack.OrmLite
78
{
@@ -32,6 +33,8 @@ public OrmLiteConnectionFactory(string connectionString, IOrmLiteDialectProvider
3233
}
3334

3435
this.ConnectionFilter = x => x;
36+
37+
JsConfig.InitStatics();
3538
}
3639

3740
public IOrmLiteDialectProvider DialectProvider { get; set; }

0 commit comments

Comments
 (0)