Returns the provider invariant name for the provider.


For SQL server the provider invariant name is System.Data.SqlClient.


public string ProviderInvariantName { get; }


Examples


var connector = new AdoConnector(SqlClientFactory.Instance, connection_string);


if (connector.ProviderInvariantName == "System.Data.SqlClient")

   MessageBox.Show("The connector connects to SQL Server.");