public ProviderConfiguration(ConnectionProviderEnum p_providerType) { if (p_providerType == ConnectionProviderEnum.NullProvider) { throw new ArgumentException("Il tipo di Provider non può essere nullo."); } this.m_providerType = p_providerType; this.SetParameterPrefix(); }
private void LoadConfiguration() { ConnectionProviderEnum t_providerType = (ConnectionProviderEnum)Int32.Parse(ConfigurationSettings.AppSettings["ProviderType"]); m_providerConfiguration = new SharpMapper.ConnectionProvider.ProviderConfiguration(t_providerType); }