274 references to ParameterDirection
System.Data (126)
fx\src\data\Microsoft\SqlServer\Server\SmiMetaData.cs (10)
990
private
ParameterDirection
_direction;
1006
ParameterDirection
direction) :
1037
ParameterDirection
direction) :
1072
ParameterDirection
direction) :
1108
ParameterDirection
direction) :
1124
Debug.Assert(
ParameterDirection
.Input == direction
1125
||
ParameterDirection
.Output == direction
1126
||
ParameterDirection
.InputOutput == direction
1127
||
ParameterDirection
.ReturnValue == direction, "Invalid direction: " + direction );
1131
internal
ParameterDirection
Direction {
fx\src\data\System\Data\Common\AdapterUtil.cs (3)
594
static internal ArgumentOutOfRangeException InvalidParameterDirection(
ParameterDirection
value) {
605
return InvalidEnumerationValue(typeof(
ParameterDirection
), (int) value);
2474
static internal bool IsDirection(IDataParameter value,
ParameterDirection
condition) {
fx\src\data\System\Data\Common\DBCommandBuilder.cs (2)
1029
p.Direction =
ParameterDirection
.Input;
1075
p.Direction =
ParameterDirection
.Input;
fx\src\data\System\Data\Common\DbDataAdapter.cs (2)
633
if ((null != parameter) && (0 != (
ParameterDirection
.Input & parameter.Direction))) {
658
if (0 != (
ParameterDirection
.Output & parameter.Direction)) {
fx\src\data\System\Data\Common\DBParameter.cs (2)
38
DefaultValue(
ParameterDirection
.Input),
43
abstract public
ParameterDirection
Direction {
fx\src\data\System\Data\IDataParameter.cs (1)
19
ParameterDirection
Direction {
fx\src\data\System\Data\Odbc\OdbcCommandBuilder.cs (4)
205
parameter.Direction =
ParameterDirection
.Input;
208
parameter.Direction =
ParameterDirection
.Output;
212
parameter.Direction =
ParameterDirection
.InputOutput;
215
parameter.Direction =
ParameterDirection
.ReturnValue;
fx\src\data\System\Data\Odbc\OdbcParameter.cs (19)
68
private
ParameterDirection
_internalDirection;
115
ParameterDirection
parameterDirection,
138
ParameterDirection
parameterDirection,
310
if (!_internalShouldSerializeSize && (0 != (
ParameterDirection
.Output & _internalDirection))) {
319
if ((0 != (
ParameterDirection
.Output & _internalDirection)) && (0x3fffffff <= _internalSize)) {
344
if ((0 != (
ParameterDirection
.Output & _internalDirection)) && (0x3fffffff <= _internalSize)) {
356
if ((0 != (
ParameterDirection
.Output & _internalDirection)) && (0x3fffffff <= _internalSize)) {
426
if ((ccb <= 0) && (0 != (
ParameterDirection
.Output & _internalDirection))) {
449
if ((0 != (
ParameterDirection
.Output & _internalDirection)) && (0x3fffffff <= _internalSize)) {
835
if ((null != _bindtype) && (_internalDirection !=
ParameterDirection
.Input)) {
914
if((
ParameterDirection
.Input == _internalDirection) || (
ParameterDirection
.InputOutput == _internalDirection)) {
955
case
ParameterDirection
.Input:
957
case
ParameterDirection
.Output:
958
case
ParameterDirection
.ReturnValue:
962
case
ParameterDirection
.InputOutput:
1035
if ((
ParameterDirection
.Input != p.Direction) || p.IsNullable
1071
typeof(string), typeof(OdbcType), typeof(int), typeof(
ParameterDirection
),
1081
typeof(string), typeof(OdbcType), typeof(int), typeof(
ParameterDirection
),
fx\src\data\System\Data\OleDb\DBBindings.cs (2)
260
if (ADP.IsDirection(parameters[i],
ParameterDirection
.Input)) {
278
if (ADP.IsDirection(parameters[i],
ParameterDirection
.Output)) {
fx\src\data\System\Data\OleDb\OleDbCommand.cs (1)
985
if ((0 < parameterCount) && (
ParameterDirection
.ReturnValue == Parameters[0].Direction)) {
fx\src\data\System\Data\OleDb\OleDbCommandBuilder.cs (6)
309
static private
ParameterDirection
ConvertToParameterDirection(int value) {
312
return System.Data.
ParameterDirection
.Input;
314
return System.Data.
ParameterDirection
.InputOutput;
316
return System.Data.
ParameterDirection
.Output;
318
return System.Data.
ParameterDirection
.ReturnValue;
320
return System.Data.
ParameterDirection
.Input;
fx\src\data\System\Data\OleDb\OleDbParameter.cs (9)
65
ParameterDirection
direction, Boolean isNullable,
84
ParameterDirection
direction,
271
ParameterDirection
direction = Direction;
314
if (!ShouldSerializeSize() && ADP.IsDirection(this,
ParameterDirection
.Output)) {
515
static private int GetBindDirection(
ParameterDirection
direction) {
529
static private int GetBindFlags(
ParameterDirection
direction) {
582
if ((
ParameterDirection
.Input != p.Direction) || p.IsNullable
618
typeof(string), typeof(OleDbType), typeof(int), typeof(
ParameterDirection
),
628
typeof(string), typeof(OleDbType), typeof(int), typeof(
ParameterDirection
),
fx\src\data\System\Data\ProviderBase\DbMetaDataFactory.cs (1)
165
restrictionParameter.Direction =
ParameterDirection
.Input;
fx\src\Data\System\Data\ProviderBase\DbParameterHelper.cs (8)
21
private
ParameterDirection
_direction;
59
override public
ParameterDirection
Direction { // V1.2.3300, XXXParameter V1.0.3300
61
ParameterDirection
direction = _direction;
62
return ((0 != direction) ? direction :
ParameterDirection
.Input);
67
case
ParameterDirection
.Input:
68
case
ParameterDirection
.Output:
69
case
ParameterDirection
.InputOutput:
70
case
ParameterDirection
.ReturnValue:
fx\src\data\System\Data\SqlClient\SqlCommand.cs (37)
2963
private
ParameterDirection
ParameterDirectionFromOleDbDirection(short oledbDirection) {
2968
return
ParameterDirection
.InputOutput;
2970
return
ParameterDirection
.Output;
2972
return
ParameterDirection
.ReturnValue;
2974
return
ParameterDirection
.Input;
3796
Direction =
ParameterDirection
.Input,
4030
if (!rpc.parameters[paramIdx].HasReceivedMetadata && rpc.parameters[paramIdx].Direction !=
ParameterDirection
.ReturnValue) {
5112
if (parameter.Direction ==
ParameterDirection
.ReturnValue) {
5164
(thisParam.Direction ==
ParameterDirection
.Output ||
5165
thisParam.Direction ==
ParameterDirection
.InputOutput ||
5166
thisParam.Direction ==
ParameterDirection
.ReturnValue)) {
5283
if (
ParameterDirection
.Input != metaData.Direction ) {
5285
if (
ParameterDirection
.ReturnValue != metaData.Direction) {
5341
if (thisParam.Direction ==
ParameterDirection
.ReturnValue) {
5351
if (thisParam.Direction !=
ParameterDirection
.Input && thisParam.Direction !=
ParameterDirection
.ReturnValue && paramName == thisParam.ParameterNameFixed) {
5429
if ((!parameter.ValidateTypeLengths(yukonOrNewer).IsPlp) && (parameter.Direction !=
ParameterDirection
.Output)) {
5437
if (parameter.Direction ==
ParameterDirection
.InputOutput ||
5438
parameter.Direction ==
ParameterDirection
.Output)
5447
if (parameter.Direction !=
ParameterDirection
.Output) {
5485
sqlParam.Direction =
ParameterDirection
.InputOutput;
5513
case
ParameterDirection
.ReturnValue:
5516
case
ParameterDirection
.Output:
5517
case
ParameterDirection
.InputOutput:
5518
case
ParameterDirection
.Input:
5674
if (parameter.Direction ==
ParameterDirection
.ReturnValue) {
5696
while (i < parameters.Count() && parameters[i].Direction ==
ParameterDirection
.ReturnValue) {
5708
if (parameters[i].Direction ==
ParameterDirection
.Output ||
5709
parameters[i].Direction ==
ParameterDirection
.InputOutput) {
5720
if (parameters[i].Direction !=
ParameterDirection
.ReturnValue) {
5724
if (parameters[i].Direction ==
ParameterDirection
.Output ||
5725
parameters[i].Direction ==
ParameterDirection
.InputOutput) {
5790
if ((!mt.IsPlp) && (sqlParam.Direction !=
ParameterDirection
.Output)) {
5866
if (sqlParam.Direction !=
ParameterDirection
.Input)
5962
sqlParam.Direction =
ParameterDirection
.Output;
6247
if (
ParameterDirection
.Output != requestMetaData[index].Direction &&
6248
ParameterDirection
.ReturnValue != requestMetaData[index].Direction ) {
fx\src\data\System\Data\SqlClient\SqlCommandSet.cs (1)
196
if (
ParameterDirection
.ReturnValue == parameters[i].Direction) {
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (1)
438
param.Direction =
ParameterDirection
.Output;
fx\src\data\System\Data\SqlClient\sqlinternaltransaction.cs (1)
339
parameter.Direction =
ParameterDirection
.Output;
fx\src\data\System\Data\SqlClient\SqlParameter.cs (9)
132
ParameterDirection
direction, bool isNullable,
149
ParameterDirection
direction,
1482
if (ADP.IsDirection(this,
ParameterDirection
.Output) &&
1483
!ADP.IsDirection(this,
ParameterDirection
.ReturnValue) && // SQL BU DT 372370
1497
if (metaType.SqlDbType != SqlDbType.Udt && Direction !=
ParameterDirection
.Output) {
1515
if (
ParameterDirection
.Input != this.Direction) {
1796
if ((
ParameterDirection
.Input != p.Direction) || p.IsNullable
1835
typeof(string), typeof(SqlDbType), typeof(int), typeof(
ParameterDirection
),
1847
typeof(string), typeof(SqlDbType), typeof(int), typeof(
ParameterDirection
),
fx\src\data\System\Data\SqlClient\SqlUtil.cs (1)
462
static internal Exception UnsupportedTVPOutputParameter(
ParameterDirection
direction, string paramName) {
fx\src\data\System\Data\SqlClient\TdsParser.cs (6)
8145
&& (param.Direction ==
ParameterDirection
.Input || param.Direction ==
ParameterDirection
.InputOutput)) {
8171
if (param.Direction ==
ParameterDirection
.Output) {
8790
else if (param.Direction ==
ParameterDirection
.Output) {
8834
if (
ParameterDirection
.Output == metaData.Direction ||
ParameterDirection
.InputOutput == metaData.Direction) {
System.Data.Entity (45)
System\Data\Common\EntityUtil.cs (2)
1581
static internal ArgumentOutOfRangeException InvalidParameterDirection(
ParameterDirection
value)
1594
return InvalidEnumerationValue(typeof(
ParameterDirection
), (int)value);
System\Data\Common\Utils\CommandHelper.cs (2)
128
ParameterDirection
direction = storeParameter.Direction;
129
if (0 != (direction &
ParameterDirection
.Output))
System\Data\Common\Utils\MetadataHelper.cs (6)
135
internal static
ParameterDirection
ParameterModeToParameterDirection(ParameterMode mode)
140
return
ParameterDirection
.Input;
143
return
ParameterDirection
.InputOutput;
146
return
ParameterDirection
.Output;
149
return
ParameterDirection
.ReturnValue;
153
return default(
ParameterDirection
);
System\Data\EntityClient\DbParameterHelper.cs (8)
24
private
ParameterDirection
_direction;
61
override public
ParameterDirection
Direction {
63
ParameterDirection
direction = _direction;
64
return ((0 != direction) ? direction :
ParameterDirection
.Input);
69
case
ParameterDirection
.Input:
70
case
ParameterDirection
.Output:
71
case
ParameterDirection
.InputOutput:
72
case
ParameterDirection
.ReturnValue:
System\Data\EntityClient\EntityCommand.cs (1)
825
if (this.CommandType == CommandType.Text && parameter.Direction !=
ParameterDirection
.Input)
System\Data\EntityClient\EntityCommandDefinition.cs (1)
460
if (storeParameter.Direction !=
ParameterDirection
.Input) {
System\Data\EntityClient\EntityParameter.cs (1)
95
ParameterDirection
direction,
System\Data\EntityModel\SchemaObjectModel\Parameter.cs (6)
29
private
ParameterDirection
_parameterDirection =
ParameterDirection
.Input;
50
internal
ParameterDirection
ParameterDirection
228
_parameterDirection =
ParameterDirection
.Input;
231
_parameterDirection =
ParameterDirection
.Output;
238
_parameterDirection =
ParameterDirection
.InputOutput;
System\Data\Metadata\Converter.cs (7)
1237
private static ParameterMode GetParameterMode(
ParameterDirection
parameterDirection)
1240
parameterDirection ==
ParameterDirection
.Input
1241
|| parameterDirection ==
ParameterDirection
.InputOutput
1242
|| parameterDirection ==
ParameterDirection
.Output,
1247
case
ParameterDirection
.Input:
1250
case
ParameterDirection
.Output:
1253
case
ParameterDirection
.InputOutput:
System\Data\Metadata\Helper.cs (5)
459
internal static string ToString(System.Data.
ParameterDirection
value)
463
case
ParameterDirection
.Input:
465
case
ParameterDirection
.Output:
467
case
ParameterDirection
.InputOutput:
469
case
ParameterDirection
.ReturnValue:
System\Data\Objects\ObjectContext.cs (3)
2787
entityParameter.Direction !=
ParameterDirection
.Input)
2821
EntityCommandDefinition.PopulateParameterFromTypeUsage(entityParameter, typeUsage, entityParameter.Direction !=
ParameterDirection
.Input);
2824
if (entityParameter.Direction !=
ParameterDirection
.Input)
System\Data\SqlClient\SqlProviderServices.cs (3)
161
int? size = GetParameterSize(parameterType, ((parameter.Direction &
ParameterDirection
.Output) ==
ParameterDirection
.Output));
332
ParameterDirection
direction = MetadataHelper.ParameterModeToParameterDirection(mode);
System.Data.Linq (14)
SqlClient\Common\SqlNode.cs (3)
1404
private System.Data.
ParameterDirection
direction;
1413
this.direction = System.Data.
ParameterDirection
.Input;
1420
internal System.Data.
ParameterDirection
Direction {
SqlClient\Query\SqlParameterizer.cs (8)
205
if (arg.Direction ==
ParameterDirection
.InputOutput ||
206
arg.Direction ==
ParameterDirection
.Output) {
216
p.Direction = System.Data.
ParameterDirection
.Output;
241
private System.Data.
ParameterDirection
GetParameterDirection(MetaParameter p) {
243
return System.Data.
ParameterDirection
.ReturnValue;
246
return System.Data.
ParameterDirection
.Output;
249
return System.Data.
ParameterDirection
.InputOutput;
252
return System.Data.
ParameterDirection
.Input;
SqlClient\SqlProvider.cs (2)
1187
if (pi.Parameter.Direction ==
ParameterDirection
.Input ||
1188
pi.Parameter.Direction ==
ParameterDirection
.InputOutput) {
SqlClient\SqlTypeSystemProvider.cs (1)
1010
bool isInputParameter = parameter.Direction ==
ParameterDirection
.Input;
System.Web (65)
Security\SQLMembershipProvider.cs (18)
377
p.Direction=
ParameterDirection
.InputOutput;
381
p.Direction =
ParameterDirection
.ReturnValue;
474
p.Direction =
ParameterDirection
.ReturnValue;
633
p.Direction =
ParameterDirection
.ReturnValue;
758
p.Direction =
ParameterDirection
.ReturnValue;
836
p.Direction =
ParameterDirection
.ReturnValue;
894
p.Direction =
ParameterDirection
.ReturnValue;
946
p.Direction =
ParameterDirection
.ReturnValue;
1035
p.Direction =
ParameterDirection
.ReturnValue;
1125
p.Direction =
ParameterDirection
.ReturnValue;
1188
p.Direction =
ParameterDirection
.Output;
1243
p.Direction =
ParameterDirection
.ReturnValue;
1325
p.Direction =
ParameterDirection
.ReturnValue;
1366
p.Direction =
ParameterDirection
.ReturnValue;
1464
p.Direction =
ParameterDirection
.ReturnValue;
1595
p.Direction =
ParameterDirection
.ReturnValue;
1652
p.Direction =
ParameterDirection
.ReturnValue;
1738
p.Direction =
ParameterDirection
.ReturnValue;
Security\SQLRoleProvider.cs (11)
119
p.Direction =
ParameterDirection
.ReturnValue;
180
p.Direction =
ParameterDirection
.ReturnValue;
250
p.Direction =
ParameterDirection
.ReturnValue;
303
p.Direction =
ParameterDirection
.ReturnValue;
354
p.Direction =
ParameterDirection
.ReturnValue;
469
p.Direction =
ParameterDirection
.ReturnValue;
581
p.Direction =
ParameterDirection
.ReturnValue;
636
p.Direction =
ParameterDirection
.ReturnValue;
705
p.Direction =
ParameterDirection
.ReturnValue;
765
p.Direction =
ParameterDirection
.ReturnValue;
849
if (param.Direction ==
ParameterDirection
.ReturnValue && param.Value != null && param.Value is int)
State\sqlstateclientmanager.cs (22)
1032
p.Direction =
ParameterDirection
.Output;
1078
p.Direction =
ParameterDirection
.Output;
1291
p.Direction =
ParameterDirection
.Output;
1293
p.Direction =
ParameterDirection
.Output;
1295
p.Direction =
ParameterDirection
.Output;
1297
p.Direction =
ParameterDirection
.Output;
1299
p.Direction =
ParameterDirection
.Output;
1304
p.Direction =
ParameterDirection
.Output;
1306
p.Direction =
ParameterDirection
.Output;
1308
p.Direction =
ParameterDirection
.Output;
1310
p.Direction =
ParameterDirection
.Output;
1312
p.Direction =
ParameterDirection
.Output;
1333
p.Direction =
ParameterDirection
.Output;
1335
p.Direction =
ParameterDirection
.Output;
1337
p.Direction =
ParameterDirection
.Output;
1339
p.Direction =
ParameterDirection
.Output;
1341
p.Direction =
ParameterDirection
.Output;
1346
p.Direction =
ParameterDirection
.Output;
1348
p.Direction =
ParameterDirection
.Output;
1350
p.Direction =
ParameterDirection
.Output;
1352
p.Direction =
ParameterDirection
.Output;
1354
p.Direction =
ParameterDirection
.Output;
UI\WebControls\Parameter.cs (4)
164
DefaultValue(
ParameterDirection
.Input),
168
public
ParameterDirection
Direction {
172
return
ParameterDirection
.Input;
173
return (
ParameterDirection
)o;
UI\WebControls\SqlDataSourceView.cs (2)
981
((parameter.Direction ==
ParameterDirection
.Input) || (parameter.Direction ==
ParameterDirection
.InputOutput))) {
UI\WebParts\SqlPersonalizationProvider.cs (7)
100
returnValue.Direction =
ParameterDirection
.ReturnValue;
220
returnValue.Direction =
ParameterDirection
.ReturnValue;
319
parameter.Direction =
ParameterDirection
.Output;
395
parameter.Direction =
ParameterDirection
.Output;
654
parameter.Direction =
ParameterDirection
.Output;
701
parameter.Direction =
ParameterDirection
.Output;
814
parameter.Direction =
ParameterDirection
.Output;
Util\SecUtil.cs (1)
279
p.Direction =
ParameterDirection
.ReturnValue;
System.Workflow.Runtime (19)
Hosting\DbResourceAllocator.cs (1)
263
internal DbParameter NewDbParameter(string parameterName, DbType type,
ParameterDirection
direction)
Hosting\SqlWorkflowPersistenceService.cs (7)
189
p1.Direction =
ParameterDirection
.InputOutput;
196
p2.Direction =
ParameterDirection
.InputOutput;
313
p2.Direction =
ParameterDirection
.InputOutput;
321
found.Direction =
ParameterDirection
.Output;
429
p1.Direction =
ParameterDirection
.InputOutput;
436
p2.Direction =
ParameterDirection
.InputOutput;
497
p1.Direction =
ParameterDirection
.InputOutput;
Tracking\SqlTrackingService.cs (11)
376
param.Direction = System.Data.
ParameterDirection
.Output;
1301
command.Parameters.Add(DbResourceAllocator.NewDbParameter("@WorkflowId", DbType.Int32, System.Data.
ParameterDirection
.Output));
1302
command.Parameters.Add(DbResourceAllocator.NewDbParameter("@Exists", DbType.Boolean, System.Data.
ParameterDirection
.Output));
1443
command.Parameters.Add(DbResourceAllocator.NewDbParameter("@WorkflowInstanceEventId1", DbType.Int64,
ParameterDirection
.Output));
1465
command.Parameters.Add(DbResourceAllocator.NewDbParameter("@WorkflowInstanceEventId2", DbType.Int64,
ParameterDirection
.Output));
1544
DbParameter param = DbResourceAllocator.NewDbParameter("@WorkflowInstanceInternalId", DbType.Int64, System.Data.
ParameterDirection
.InputOutput);
1623
DbParameter param = DbResourceAllocator.NewDbParameter("@ActivityInstanceId" + paramIdString, DbType.Int64, System.Data.
ParameterDirection
.InputOutput);
1635
command.Parameters.Add(DbResourceAllocator.NewDbParameter("@ActivityExecutionStatusEventId" + paramIdString, DbType.Int64,
ParameterDirection
.Output));
1745
param = DbResourceAllocator.NewDbParameter("@ActivityInstanceId", DbType.Int64, System.Data.
ParameterDirection
.InputOutput);
1786
command.Parameters.Add(DbResourceAllocator.NewDbParameter("@UserEventId", DbType.Int64,
ParameterDirection
.Output));
1859
command.Parameters.Add(DbResourceAllocator.NewDbParameter("@TrackingDataItemId" + index, DbType.Int64, System.Data.
ParameterDirection
.Output));
System.WorkflowServices (5)
System\ServiceModel\Persistence\SqlPersistenceProviderFactory.cs (5)
803
resultParameter.Direction =
ParameterDirection
.Output;
859
resultParameter.Direction =
ParameterDirection
.Output;
965
resultParameter.Direction =
ParameterDirection
.Output;
1424
resultParameter.Direction =
ParameterDirection
.Output;
1504
resultParameter.Direction =
ParameterDirection
.Output;