v3.0.1
v3.0.1
This commit is contained in:
@@ -3,11 +3,17 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CC.Yi.IBLL
|
||||
{
|
||||
public interface IBaseBll<T> where T : class, new()
|
||||
{
|
||||
#region
|
||||
//通过id得到实体
|
||||
#endregion
|
||||
Task<T> GetEntityById(int id);
|
||||
|
||||
#region
|
||||
//得到全部实体
|
||||
#endregion
|
||||
|
||||
@@ -2,13 +2,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CC.Yi.IBLL
|
||||
{
|
||||
public partial interface IstudentBll : IBaseBll<student>
|
||||
{
|
||||
}
|
||||
public partial interface IpropBll : IBaseBll<prop>
|
||||
{
|
||||
Task<bool> DelListByUpdateList(List<int> Ids);
|
||||
}
|
||||
}
|
||||
@@ -17,6 +17,7 @@ using CC.Yi.Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CC.Yi.IBLL
|
||||
{
|
||||
@@ -24,6 +25,7 @@ namespace CC.Yi.IBLL
|
||||
#>
|
||||
public partial interface I<#=k #>Bll : IBaseBll<<#=k #>>
|
||||
{
|
||||
Task<bool> DelListByUpdateList(List<int> Ids);
|
||||
}
|
||||
<# } #>
|
||||
}
|
||||
Reference in New Issue
Block a user