40 references to Text
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\SaveWorkflowAsyncResult.cs (1)
131return CommandType.Text;
System.Data (27)
fx\src\data\System\Data\Common\DBCommand.cs (1)
42DefaultValue(System.Data.CommandType.Text),
fx\src\data\System\Data\Common\DBCommandBuilder.cs (1)
1310command.CommandType = CommandType.Text;
fx\src\data\System\Data\Odbc\OdbcCommand.cs (3)
208DefaultValue(System.Data.CommandType.Text), 216return ((0 != cmdType) ? cmdType : CommandType.Text); 220case CommandType.Text:
fx\src\data\System\Data\Odbc\OdbcCommandBuilder.cs (1)
111case System.Data.CommandType.Text:
fx\src\data\System\Data\OleDb\OleDbCommand.cs (6)
169DefaultValue(System.Data.CommandType.Text), 177return ((0 != cmdType) ? cmdType : CommandType.Text); 181case CommandType.Text: 377Debug.Assert(System.Data.CommandType.Text == CommandType || System.Data.CommandType.StoredProcedure == CommandType, "CreateAccessor: incorrect CommandType"); 600case CommandType.Text: 962case System.Data.CommandType.Text:
fx\src\data\System\Data\OleDb\OleDbCommandBuilder.cs (1)
105case System.Data.CommandType.Text:
fx\src\data\System\Data\SqlClient\SqlCommand.cs (13)
696DefaultValue(System.Data.CommandType.Text), 704return ((0 != cmdType) ? cmdType : CommandType.Text); 710case CommandType.Text: 850(System.Data.CommandType.Text == this.CommandType) 1545if ((System.Data.CommandType.Text == this.CommandType) && (0 == GetParameterCount(_parameters))) { 1639else if (!ShouldUseEnclaveBasedWorkflow && !BatchRPCMode && (System.Data.CommandType.Text == this.CommandType) && (0 == GetParameterCount(_parameters))) { 2714case System.Data.CommandType.Text: 4436else if ((System.Data.CommandType.Text == this.CommandType) && (0 == GetParameterCount(_parameters))) { 4458else if (System.Data.CommandType.Text == this.CommandType) { 5471Debug.Assert(System.Data.CommandType.Text == this.CommandType, "invalid use of sp_prepexec for stored proc invocation!"); 5620Debug.Assert(System.Data.CommandType.Text == this.CommandType, "invalid use of sp_executesql for stored proc invocation!"); 5941Debug.Assert(System.Data.CommandType.Text == this.CommandType, "invalid call to GetCommandText for stored proc!"); 5951Debug.Assert(System.Data.CommandType.Text == this.CommandType, "invalid use of sp_prepare for stored proc invocation!");
fx\src\data\System\Data\SqlClient\SqlCommandSet.cs (1)
124case CommandType.Text:
System.Data.Entity (7)
System\Data\EntityClient\EntityCommand.cs (5)
59this._commandType = CommandType.Text; 239if (CommandType.Text != CommandType) 304if (value != CommandType.Text && value != CommandType.StoredProcedure) 575if (CommandType.Text == CommandType) 825if (this.CommandType == CommandType.Text && parameter.Direction != ParameterDirection.Input)
System\Data\SqlClient\SqlGen\SqlGenerator.cs (2)
411commandType = CommandType.Text; 476commandType = CommandType.Text;
System.Data.Entity.Design (1)
System\Data\Entity\Design\SSDLGenerator\EntityStoreSchemaGeneratorDatabaseSchemaLoader.cs (1)
190command.CommandType = CommandType.Text;
System.Web (4)
Cache\SqlCacheDependency.cs (2)
1516sqlCmd.CommandType = CommandType.Text; 1528sqlCmd.CommandType = CommandType.Text;
State\sqlstateclientmanager.cs (1)
1004cmd.CommandType = CommandType.Text;
UI\WebControls\SqlDataSourceView.cs (1)
1181return CommandType.Text;