예제 #1
0
        public async Task Query(TNDTargetModel targetModel, TNDEntityItem entityItem, bool returnParent, bool returnThis, bool returnChildren)
        {
            var taskSearch = this.GetBuis().Query(targetModel, entityItem.MetaEntity, true, new object[] { entityItem.GetKeyValue() }, returnParent, returnThis, returnChildren);

            try {
                await taskSearch;
            } catch (Exception exception) {
                throw;
            }
        }
예제 #2
0
        public async Task Search(TNDTargetModel targetModel, TNDSearchItem searchItem)
        {
            var taskSearch = this.GetBuis().Search(targetModel, searchItem);

            try {
                await taskSearch;
            } catch (Exception exception) {
                throw;
            }
        }