41 references to ProviderInfo
System.Data.Odbc (41)
System\Data\Odbc\OdbcCommand.cs (3)
621
if (!Connection!.
ProviderInfo
.NoQueryTimeout)
634
if (!Connection.
ProviderInfo
.NoSqlSoptSSNoBrowseTable && !Connection.
ProviderInfo
.NoSqlSoptSSHiddenColumns)
System\Data\Odbc\OdbcConnection.cs (32)
90
if (IsOpen && !
ProviderInfo
.NoCurrentCatalog)
212
return
ProviderInfo
.DriverName ??= GetInfoStringUnhandled(ODBC32.SQL_INFO.DRIVER_NAME)!;
223
if (
ProviderInfo
.DriverVersion == null)
225
ProviderInfo
.DriverVersion = GetInfoStringUnhandled(ODBC32.SQL_INFO.DRIVER_ODBC_VER);
227
if (
ProviderInfo
.DriverVersion != null &&
ProviderInfo
.DriverVersion.Length >= 2)
231
ProviderInfo
.IsV3Driver = (int.Parse(
ProviderInfo
.DriverVersion.Substring(0, 2), CultureInfo.InvariantCulture) >= 3);
235
ProviderInfo
.IsV3Driver = false;
241
ProviderInfo
.DriverVersion = "";
244
return
ProviderInfo
.IsV3Driver;
263
if (!
ProviderInfo
.HasEscapeChar)
268
ProviderInfo
.EscapeChar = (escapeCharString.Length == 1) ? escapeCharString[0] : QuoteChar(method)[0];
270
return
ProviderInfo
.EscapeChar;
276
if (!
ProviderInfo
.HasQuoteChar)
281
ProviderInfo
.QuoteChar = (1 == quoteCharString.Length) ? quoteCharString : "\0";
283
return
ProviderInfo
.QuoteChar;
330
if (!
ProviderInfo
.NoConnectionDead)
686
ProviderInfo
.TestedSQLTypes |= (int)sqlcvt;
687
ProviderInfo
.SupportedSQLTypes |= (int)sqlcvt;
710
ProviderInfo
.RestrictedSQLBindTypes |= (int)sqlcvt;
718
ProviderInfo
.NoCurrentCatalog = true;
721
ProviderInfo
.NoConnectionDead = true;
734
ProviderInfo
.NoQueryTimeout = true;
737
ProviderInfo
.NoSqlSoptSSNoBrowseTable = true;
740
ProviderInfo
.NoSqlSoptSSHiddenColumns = true;
756
ProviderInfo
.NoSqlCASSColumnKey = true;
844
if (0 == (
ProviderInfo
.TestedSQLTypes & (int)sqlcvt))
851
ProviderInfo
.TestedSQLTypes |= (int)sqlcvt;
852
ProviderInfo
.SupportedSQLTypes |= flags;
857
return (0 != (
ProviderInfo
.SupportedSQLTypes & (int)sqlcvt));
879
return (0 != (
ProviderInfo
.RestrictedSQLBindTypes & (int)sqlcvt));
System\Data\Odbc\OdbcDataReader.cs (6)
226
if (!Connection!.
ProviderInfo
.NoSqlSoptSSNoBrowseTable && !Connection.
ProviderInfo
.NoSqlSoptSSHiddenColumns)
2074
if (!Connection!.
ProviderInfo
.NoSqlCASSColumnKey)
2123
if (!Connection!.
ProviderInfo
.NoSqlCASSColumnKey)
2332
if (!Connection!.
ProviderInfo
.NoSqlPrimaryKeys)
2400
Connection.
ProviderInfo
.NoSqlPrimaryKeys = true;