40 references to ReturnParameter
System.Data.Entity (30)
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (1)
174
TypeUsage resultType = function.
ReturnParameter
.TypeUsage;
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (6)
333
if (!TypeSemantics.IsAggregateFunction(function) || null == function.
ReturnParameter
)
1486
if (null == function.
ReturnParameter
)
1501
return function.
ReturnParameter
.TypeUsage;
1877
if (function.IsComposableAttribute && null == function.
ReturnParameter
)
1884
if (function.
ReturnParameter
!= null)
1886
if (!CheckDataSpace(function.
ReturnParameter
.TypeUsage))
System\Data\Common\CommandTrees\ValueExpressions.cs (1)
283
Debug.Assert(object.ReferenceEquals(resultType, function.
ReturnParameter
.TypeUsage), "DbFunctionExpression result type must be function return type");
System\Data\Common\EntityUtil.cs (3)
1293
if (null == functionImport.
ReturnParameter
)
1301
functionImport.
ReturnParameter
.TypeUsage.EdmType.FullName, functionImport.Name);
1702
TypeHelpers.GetFullName(function.
ReturnParameter
.TypeUsage),
System\Data\Mapping\FunctionImportMappingComposable.cs (5)
123
if (!Command.EqualTypes(functionViewType, this.FunctionImport.
ReturnParameter
.TypeUsage))
125
Debug.Assert(TypeSemantics.IsPromotableTo(functionViewType, this.FunctionImport.
ReturnParameter
.TypeUsage), "Mapping expression result type must be promotable to the c-space function return type.");
128
CollectionType expectedCollectionType = (CollectionType)this.FunctionImport.
ReturnParameter
.TypeUsage.EdmType;
229
TypeSemantics.IsPromotableTo(queryExpression.ResultType, this.FunctionImport.
ReturnParameter
.TypeUsage),
236
TypeSemantics.IsEqual(queryExpression.ResultType, this.FunctionImport.
ReturnParameter
.TypeUsage),
System\Data\Mapping\StorageMappingItemLoader.cs (2)
2282
functionImport.
ReturnParameter
.TypeUsage.EdmType.FullName,
2284
sTypeTargetFunction.
ReturnParameter
.TypeUsage.EdmType.FullName,
System\Data\Metadata\EdmItemCollection.cs (1)
472
if (!TypeSemantics.IsStructurallyEqual(function.
ReturnParameter
.TypeUsage, generatedDefinition.Body.ResultType))
System\Data\Metadata\StoreItemCollection.cs (4)
374
if (sTypeFunction.
ReturnParameter
!= null)
377
MetadataHelper.ConvertStoreTypeUsageToEdmTypeUsage(sTypeFunction.
ReturnParameter
.TypeUsage);
381
sTypeFunction.
ReturnParameter
.Name,
383
sTypeFunction.
ReturnParameter
.GetParameterMode());
System\Data\Metadata\TypeHelpers.cs (3)
586
if (tvf.
ReturnParameter
!= null && TypeSemantics.IsCollectionType(tvf.
ReturnParameter
.TypeUsage))
588
var expectedElementTypeUsage = ((CollectionType)tvf.
ReturnParameter
.TypeUsage.EdmType).TypeUsage;
System\Data\Query\InternalTrees\ScalarOps.cs (2)
369
: base(OpType.Function, function.
ReturnParameter
.TypeUsage)
840
: base(OpType.Aggregate, aggFunc.
ReturnParameter
.TypeUsage)
System\Data\SqlClient\SqlProviderManifest.cs (2)
239
if ((edmFunction.
ReturnParameter
!= null && Helper.IsSpatialType(edmFunction.
ReturnParameter
.TypeUsage)) ||
System.Data.Entity.Design (10)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (6)
159
if (function.
ReturnParameter
!= null)
161
var returnTypeUsage = function.
ReturnParameter
.TypeUsage;
216
if (function.
ReturnParameter
!= null && !returnParameterHandled)
219
if (function.
ReturnParameter
.TypeUsage.EdmType.BuiltInTypeKind == BuiltInTypeKind.CollectionType)
222
var elementType = ((CollectionType)function.
ReturnParameter
.TypeUsage.EdmType).TypeUsage.EdmType;
234
Debug.Assert(function.
ReturnParameter
== null || returnParameterHandled, "ReturnParameter was not handled.");
System\Data\Entity\Design\Common\OneToOneMappingSerializer.cs (2)
321
Debug.Assert(functionImport.
ReturnParameter
.TypeUsage.EdmType.BuiltInTypeKind == BuiltInTypeKind.CollectionType, "functionImport is expected to return Collection(ComplexType)");
322
var modelCollectionType = (CollectionType)functionImport.
ReturnParameter
.TypeUsage.EdmType;
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (2)
146
if (null != functionImport.
ReturnParameter
)
149
returnType = functionImport.
ReturnParameter
.TypeUsage.EdmType;