This commit is contained in:
owenchen committed 2026-05-12 10:09:31 +08:00
1 parent 31fbe199c1
commit 1c0c83af5f
469 files changed
+62544 -5

No files matched your search

@@ -0,0 +1,28 @@
using CloudBuilder.Core.DatabaseAccessor.Entity;
using CloudBuilder.Security.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CloudBuilder.Security.Service
{
public class SysTableSchemaViewService : ISysTableSchemaViewService
{
private readonly IApplicationService service;
private readonly IRepository<SysTableSchemaViewEntity> repository;
public SysTableSchemaViewService(IApplicationService service)
{
repository = service.GetRepository<IRepository<SysTableSchemaViewEntity>>();
this.service = service;
}
public List<SysTableSchemaViewEntity> FindByTableName(string tableName)
{
List<SysTableSchemaViewEntity> list = repository.DetachedEntities.Where(x => x.TableName == tableName).ToList();
return list;
}
}
}