增加视图查询
continuous-integration/drone/push Build is passing

This commit is contained in:
hang
2024-09-01 23:38:27 +08:00
parent 71fad05411
commit 5afe0be277
4 changed files with 506 additions and 302 deletions
@@ -70,6 +70,7 @@ namespace IRaCIS.Core.Infra.EFCore
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
//遍历实体模型手动配置
var typesToRegister = Assembly.GetExecutingAssembly().GetTypes().Where(q => q.GetInterface(typeof(IEntityTypeConfiguration<>).FullName) != null);
foreach (var type in typesToRegister)