mirror of
https://github.com/anjoy8/Blog.Core.git
synced 2024-09-20 23:48:27 +08:00
Fixed #183 bug
This commit is contained in:
parent
bdea9208f6
commit
d385ac0a07
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
//--------------------------------------------------------------------
|
//--------------------------------------------------------------------
|
||||||
// 此代码由T4模板自动生成
|
// 此代码由T4模板自动生成
|
||||||
// 生成时间 2019-12-10 12:14:44
|
// 生成时间 2021-05-08 09:48:27
|
||||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||||
//--------------------------------------------------------------------
|
//--------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user