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) { this._invariantName = (IProviderInvariantName) new ProviderInvariantName(invariantName); this._providerFactoryType = providerFactory.GetType(); }