- 完成 神通数据库所有适配;

This commit is contained in:
28810
2020-06-10 15:17:58 +08:00
parent 19f97d5d76
commit 91b652c191
6 changed files with 57 additions and 76 deletions

View File

@ -32,7 +32,7 @@ namespace FreeSql.ShenTong
public IAdo Ado { get; }
public IAop Aop { get; }
public ICodeFirst CodeFirst { get; }
public IDbFirst DbFirst => throw new NotImplementedException("正在支持中");
public IDbFirst DbFirst { get; }
public ShenTongProvider(string masterConnectionString, string[] slaveConnectionString, Func<DbConnection> connectionFactory = null)
{
this.InternalCommonUtils = new ShenTongUtils(this);
@ -41,7 +41,7 @@ namespace FreeSql.ShenTong
this.Ado = new ShenTongAdo(this.InternalCommonUtils, masterConnectionString, slaveConnectionString, connectionFactory);
this.Aop = new AopProvider();
//this.DbFirst = new ShenTongDbFirst(this, this.InternalCommonUtils, this.InternalCommonExpression);
this.DbFirst = new ShenTongDbFirst(this, this.InternalCommonUtils, this.InternalCommonExpression);
this.CodeFirst = new ShenTongCodeFirst(this, this.InternalCommonUtils, this.InternalCommonExpression);
}