This commit is contained in:
anjoy8 2021-05-08 09:50:04 +08:00
parent bdea9208f6
commit d385ac0a07
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
//-------------------------------------------------------------------- //--------------------------------------------------------------------
// 此代码由T4模板自动生成 // 此代码由T4模板自动生成
// 生成时间 2019-12-10 12:14:44 // 生成时间 2021-05-08 09:48:27
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。 // 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
//-------------------------------------------------------------------- //--------------------------------------------------------------------

View File

@ -61,7 +61,7 @@ namespace Blog.Core.Services
public <#=tableName#>Services(IBaseRepository<<#=tableName#>> dal) public <#=tableName#>Services(IBaseRepository<<#=tableName#>> dal)
{ {
this.dal = dal; this.dal = dal;
base.baseDal = dal; base.BaseDal = dal;
} }
} }
@ -108,7 +108,7 @@ namespace Blog.Core.Services
public <#=row["TABLE_NAME"].ToString() #>Services(IBaseRepository<<#=row["TABLE_NAME"].ToString() #>> dal) public <#=row["TABLE_NAME"].ToString() #>Services(IBaseRepository<<#=row["TABLE_NAME"].ToString() #>> dal)
{ {
this.dal = dal; this.dal = dal;
base.baseDal = dal; base.BaseDal = dal;
} }
} }
@ -142,7 +142,7 @@ namespace Blog.Core.Services
/// </summary> /// </summary>
public class BaseServices<TEntity> : IBaseServices<TEntity> where TEntity : class, new() public class BaseServices<TEntity> : IBaseServices<TEntity> where TEntity : class, new()
{ {
public IBaseRepository<TEntity> baseDal; public IBaseRepository<TEntity> BaseDal;
} }
} }