public InvariantNameResolver(DbProviderFactory providerFactory, string invariantName)
        {
            DebugCheck.NotNull(providerFactory);
            DebugCheck.NotEmpty(invariantName);

            _invariantName = new ProviderInvariantName(invariantName);
            _providerFactoryType = providerFactory.GetType();
        }
        public InvariantNameResolver(DbProviderFactory providerFactory, string invariantName)
        {
            DebugCheck.NotNull(providerFactory);
            DebugCheck.NotEmpty(invariantName);

            _invariantName       = new ProviderInvariantName(invariantName);
            _providerFactoryType = providerFactory.GetType();
        }
Exemple #3
0
 public InvariantNameResolver(DbProviderFactory providerFactory, string invariantName)
 {
     this._invariantName       = (IProviderInvariantName) new ProviderInvariantName(invariantName);
     this._providerFactoryType = providerFactory.GetType();
 }