예제 #1
0
        public void FindTables_Test()
        {
            var ci = GetContainer();
            var tableInfoService = ci.Resolve <ITableInfoService>();
            var request          = new FindTablesRequest();

            request.TableNames = new string[] { "Order" };

            var res = tableInfoService.FindTables(request);

            res.CheckErrorAndThrowIt();
        }
예제 #2
0
 public FindTablesCore(FindTablesRequest request, ITableInfoRepository tableInfoRepository)
     : base(request)
 {
     _tableInfoRepository = tableInfoRepository;
 }
예제 #3
0
        public ResultObject <IEnumerable <TableInfoDto> > FindTables(FindTablesRequest request)
        {
            var core = new FindTablesCore(request, _tableInfoRepository);

            return(core.DoExecute());
        }