更新控制器

This commit is contained in:
lzw
2021-10-15 14:45:16 +08:00
parent 9ce9d4ed98
commit 5ab4107ffa
9 changed files with 58 additions and 16 deletions

View File

@@ -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 #>>
{
}
<# } #>
}
}