27 references to Mode
System.Data.Entity (21)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (2)
321
return function.Parameters.Where(p => p.
Mode
== ParameterMode.In || p.
Mode
== ParameterMode.InOut).ToArray();
System\Data\Common\EntitySql\FunctionOverloadResolver.cs (2)
38
(functionParameter) => functionParameter.
Mode
,
65
(functionParameter) => functionParameter.
Mode
,
System\Data\Mapping\MetadataMappingHasherVisitor.cs (1)
694
this.AddObjectContentToHashBuilder(functionParameter.
Mode
);
System\Data\Mapping\StorageMappingItemLoader.cs (8)
1770
if (targetParameter.
Mode
!= importParameter.
Mode
)
1772
AddToSchemaErrorWithMessage(Strings.Mapping_FunctionImport_IncompatibleParameterMode(targetParameter.Name, targetParameter.
Mode
, importParameter.
Mode
),
4395
if (ParameterMode.Out != rowsAffectedParameter.
Mode
&& ParameterMode.InOut != rowsAffectedParameter.
Mode
)
4398
rowsAffectedParameterName, rowsAffectedParameter.
Mode
, ParameterMode.Out, ParameterMode.InOut),
4420
if (ParameterMode.In != parameter.
Mode
&& rowsAffectedParameterName != parameter.Name)
System\Data\Mapping\Update\Internal\FunctionUpdateCommand.cs (2)
162
Debug.Assert(rowsAffectedParameter.
Mode
== ParameterMode.Out || rowsAffectedParameter.
Mode
== ParameterMode.InOut,
System\Data\Metadata\Edm\EdmFunction.cs (3)
35
Debug.Assert(returnParameters.All((returnParameter) => returnParameter.
Mode
== ParameterMode.ReturnValue), "Return parameter in a function must have the ParameterMode equal to ReturnValue.");
90
Debug.Assert(parameter.
Mode
!= ParameterMode.ReturnValue, "No function parameter can have ParameterMode equal to ReturnValue.");
342
(param) => param.
Mode
);
System\Data\Metadata\EdmItemCollection.cs (1)
329
(param) => param.
Mode
);
System\Data\Objects\ObjectContext.cs (1)
2776
functionParameter.
Mode
);
System\Data\SqlClient\SqlProviderServices.cs (1)
118
parameter = CreateSqlParameter(functionParameter.Name, functionParameter.TypeUsage, functionParameter.
Mode
, DBNull.Value, preventTruncation, sqlVersion);
System.Data.Entity.Design (6)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (1)
245
_writer.WriteAttributeString(XmlConstants.Mode, GetAttributeValueString(parameter.
Mode
));
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (3)
507
f.Parameters.All(p => p.
Mode
== ParameterMode.In));
560
Debug.Assert(storeParameter.
Mode
== ParameterMode.In, "Function import mapping is supported only for 'In' parameters.");
563
var modelParameter = new FunctionParameter(name, cspaceTypeUsage, storeParameter.
Mode
);
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (2)
530
if (parameter.
Mode
== ParameterMode.In)
648
if (parameter.
Mode
!= ParameterMode.In)