51 references to CommandType
Aspire.Microsoft.Data.SqlClient (8)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Implementation\SqlClientDiagnosticListener.cs (5)
34
private readonly PropertyFetcher<
CommandType
> commandTypeFetcher = new("CommandType");
108
if (this.commandTypeFetcher.TryFetch(command, out
CommandType
commandType))
112
case
CommandType
.StoredProcedure:
120
case
CommandType
.Text:
128
case
CommandType
.TableDirect:
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\SqlClientTraceInstrumentationOptions.cs (3)
57
/// cref="
CommandType
.StoredProcedure"/> commands as the <see
82
/// <c>SqlCommand</c>s with <see cref="
CommandType
.Text"/>.</item>
84
/// <c>SqlCommand</c>s regardless of <see cref="
CommandType
"/>.
Aspire.Microsoft.EntityFrameworkCore.SqlServer (8)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Implementation\SqlClientDiagnosticListener.cs (5)
34
private readonly PropertyFetcher<
CommandType
> commandTypeFetcher = new("CommandType");
108
if (this.commandTypeFetcher.TryFetch(command, out
CommandType
commandType))
112
case
CommandType
.StoredProcedure:
120
case
CommandType
.Text:
128
case
CommandType
.TableDirect:
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\SqlClientTraceInstrumentationOptions.cs (3)
57
/// cref="
CommandType
.StoredProcedure"/> commands as the <see
82
/// <c>SqlCommand</c>s with <see cref="
CommandType
.Text"/>.</item>
84
/// <c>SqlCommand</c>s regardless of <see cref="
CommandType
"/>.
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (2)
UserStoreEncryptPersonalDataTest.cs (2)
126
command.CommandType = System.Data.
CommandType
.Text;
148
command.CommandType = System.Data.
CommandType
.Text;
netstandard (1)
netstandard.cs (1)
446
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.
CommandType
))]
System.Data (1)
src\libraries\shims\System.Data\ref\System.Data.cs (1)
18
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.
CommandType
))]
System.Data.Common (6)
System\Data\Common\DbBatchCommand.cs (1)
13
public abstract
CommandType
CommandType { get; set; }
System\Data\Common\DbCommand.cs (2)
24
[DefaultValue(System.Data.
CommandType
.Text)]
26
public abstract
CommandType
CommandType { get; set; }
System\Data\Common\DBCommandBuilder.cs (1)
1470
command.CommandType =
CommandType
.Text;
System\Data\Common\DbDataSource.cs (1)
289
public override
CommandType
CommandType
System\Data\IDbCommand.cs (1)
15
CommandType
CommandType { get; set; }
System.Data.Odbc (23)
Common\System\Data\Common\AdapterUtil.Odbc.cs (5)
88
internal static ArgumentOutOfRangeException InvalidCommandType(
CommandType
value)
93
case
CommandType
.Text:
94
case
CommandType
.StoredProcedure:
95
case
CommandType
.TableDirect:
100
return InvalidEnumerationValue(typeof(
CommandType
), (int)value);
System\Data\Odbc\Odbc32.cs (5)
38
internal static ArgumentOutOfRangeException NotSupportedCommandType(
CommandType
value)
43
case
CommandType
.Text:
44
case
CommandType
.StoredProcedure:
47
case
CommandType
.TableDirect:
54
return ODBC.NotSupportedEnumerationValue(typeof(
CommandType
), (int)value);
System\Data\Odbc\OdbcCommand.cs (10)
27
private
CommandType
_commandType;
213
DefaultValue(System.Data.
CommandType
.Text),
215
public override
CommandType
CommandType
219
CommandType
cmdType = _commandType;
220
return ((0 != cmdType) ? cmdType :
CommandType
.Text);
226
case
CommandType
.Text:
227
case
CommandType
.StoredProcedure:
231
case
CommandType
.TableDirect:
710
&& (CommandType !=
CommandType
.StoredProcedure))
889
if (CommandType ==
CommandType
.TableDirect)
System\Data\Odbc\OdbcCommandBuilder.cs (3)
111
case System.Data.
CommandType
.Text:
113
case System.Data.
CommandType
.StoredProcedure:
115
case System.Data.
CommandType
.TableDirect:
System.Data.OleDb (2)
artifacts\obj\System.Data.OleDb\Debug\net10.0\System.Data.OleDb.notsupported.cs (2)
23
[System.ComponentModel.DefaultValueAttribute(System.Data.
CommandType
.Text)]
25
public override System.Data.
CommandType
CommandType { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); } set { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); } }