Exemple #1
0
 public DataServiceDesignerStartup(IDataServiceDesignerRepository dsdRepository, IDataServiceHostSettings dshs, IAuthorisation authorisation, IDataServiceDesignerDataService dsdDataService, ISchemaBrowserHelpers schemaBrowserHelpers)
 {
     _dsdRepository        = dsdRepository;
     _dshs                 = dshs;
     _authorisation        = authorisation;
     _dsdDataService       = dsdDataService;
     _schemaBrowserHelpers = schemaBrowserHelpers;
 }
 public DataServiceDesignerDataService(
     IHostConfiguration hostConfiguration,
     IEnumerable <IRecordType> recordTypes,
     IGlobalisationProvider globalisationProvider,
     IAuthorisation authorisation,
     IMetadataProvider metadataProvider,
     IDataServiceDesignerRepository repository,
     IDatabaseStreamingQueryExecutor databaseStreamingQueryExecutor)
     : base(
         Constants.DataServiceName,
         globalisationProvider,
         repository as DatabaseDataServiceRepository,
         recordTypes,
         metadataProvider,
         databaseStreamingQueryExecutor)
 {
     ValidatorOptions.CascadeMode = CascadeMode.StopOnFirstFailure;
 }