oracle CodeFirst 进行中

This commit is contained in:
28810
2019-01-05 18:28:01 +08:00
parent 5eb451fc76
commit b72d4abfb8
13 changed files with 501 additions and 271 deletions

View File

@ -28,4 +28,9 @@ public class g {
.UseAutoSyncStructure(true)
.UseSyncStructureToLower(true)
.Build();
public static IFreeSql oracle = new FreeSql.FreeSqlBuilder()
.UseConnectionString(FreeSql.DataType.Oracle, "user id=user1;password=123456;data source=//127.0.0.1:1521/XE;Pooling=true;Max Pool Size=10")
.UseAutoSyncStructure(true)
.Build();
}