public IDataServicesProvider CreateProvider(DataServiceParameters parameters)
        {
            var factory = GetProviderFactory(parameters.Provider) ?? GetProviderFactory("SqlServer");

            return factory != null ? factory(parameters.DataFolder, parameters.ConnectionString) : null;
        }
예제 #2
0
        public IDataServicesProvider CreateProvider(DataServiceParameters parameters)
        {
            var factory = GetProviderFactory(parameters.Provider) ?? GetProviderFactory("SqlServer");

            return(factory != null?factory(parameters.DataFolder, parameters.ConnectionString) : null);
        }