示例#1
0
 public override void SetRepositories()
 {
     _MasterRepo.NetworkInterface = (U, P, A) => ExecuteQueryWithObjectAndNetworkAccessAsync(U, P, A);
     _MasterRepo.NetworkInterfaceWithTypedParameters = (U, P, A) => ExecuteQueryWithTypedParametersAndNetworkAccessAsync(U, P, A);
     _Service    = new SmallTableMenuItemService(_MasterRepo.NetworkInterface);
     _Reposetory = new SmallTableMenuItemRepository(_MasterRepo, _Service);
 }
 public SmallTableMenuItemRepository(IMasterRepository masterRepository, ISmallTableMenuItemService service)
     : base(masterRepository)
 {
     _Service = service;
 }