27 references to Mode
System.Data.Entity (21)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (2)
321return 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)
694this.AddObjectContentToHashBuilder(functionParameter.Mode);
System\Data\Mapping\StorageMappingItemLoader.cs (8)
1770if (targetParameter.Mode != importParameter.Mode) 1772AddToSchemaErrorWithMessage(Strings.Mapping_FunctionImport_IncompatibleParameterMode(targetParameter.Name, targetParameter.Mode, importParameter.Mode), 4395if (ParameterMode.Out != rowsAffectedParameter.Mode && ParameterMode.InOut != rowsAffectedParameter.Mode) 4398rowsAffectedParameterName, rowsAffectedParameter.Mode, ParameterMode.Out, ParameterMode.InOut), 4420if (ParameterMode.In != parameter.Mode && rowsAffectedParameterName != parameter.Name)
System\Data\Mapping\Update\Internal\FunctionUpdateCommand.cs (2)
162Debug.Assert(rowsAffectedParameter.Mode == ParameterMode.Out || rowsAffectedParameter.Mode == ParameterMode.InOut,
System\Data\Metadata\Edm\EdmFunction.cs (3)
35Debug.Assert(returnParameters.All((returnParameter) => returnParameter.Mode == ParameterMode.ReturnValue), "Return parameter in a function must have the ParameterMode equal to ReturnValue."); 90Debug.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)
2776functionParameter.Mode);
System\Data\SqlClient\SqlProviderServices.cs (1)
118parameter = 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)
507f.Parameters.All(p => p.Mode == ParameterMode.In)); 560Debug.Assert(storeParameter.Mode == ParameterMode.In, "Function import mapping is supported only for 'In' parameters."); 563var modelParameter = new FunctionParameter(name, cspaceTypeUsage, storeParameter.Mode);
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (2)
530if (parameter.Mode == ParameterMode.In) 648if (parameter.Mode != ParameterMode.In)