mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-13 04:59:27 +08:00
更新控制器
This commit is contained in:
@@ -13,3 +13,22 @@
|
||||
Type[] ts = assembly.GetTypes();
|
||||
|
||||
#>
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Model.Models;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public partial class BaseContext :DbContext
|
||||
{
|
||||
<# foreach(string item in ts){
|
||||
#>
|
||||
public partial interface I<#=item #>Dal:IBaseDal<<#=item #>>
|
||||
{
|
||||
}
|
||||
<# } #>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user