1 write to FunctionImport
System.Data.Entity (1)
System\Data\Mapping\FunctionImportMapping.cs (1)
32
this.
FunctionImport
= EntityUtil.CheckArgumentNull(functionImport, "functionImport");
16 references to FunctionImport
System.Data.Entity (16)
System\Data\EntityClient\EntityCommandDefinition.cs (3)
119
EntitySet firstResultEntitySet = mapping.
FunctionImport
.EntitySets.FirstOrDefault();
123
_entitySets.Add(mapping.
FunctionImport
.EntitySets.FirstOrDefault());
166
EdmFunction functionImport = mapping.
FunctionImport
;
System\Data\Mapping\FunctionImportMappingComposable.cs (11)
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),
252
Debug.Assert(this.
FunctionImport
.Parameters.Count == m_commandParameters.Length, "this.FunctionImport.Parameters.Count == m_commandParameters.Length");
256
Debug.Assert(this.
FunctionImport
.Parameters.Contains(targetParameter.Name), "this.FunctionImport.Parameters.Contains(targetParameter.Name)");
257
var functionImportParameter = this.
FunctionImport
.Parameters.Single(p => p.Name == targetParameter.Name);
258
yield return m_commandParameters[this.
FunctionImport
.Parameters.IndexOf(functionImportParameter)];
348
if (DiscriminatorMap.TryCreateDiscriminatorMap(this.
FunctionImport
.EntitySet, queryExpression, out discriminatorMap))
439
if (!MetadataHelper.TryGetFunctionImportReturnCollectionType(this.
FunctionImport
, 0, out functionImportReturnType))
System\Data\Mapping\FunctionImportMappingNonComposable.cs (1)
185
MetadataHelper.TryGetFunctionImportReturnType<StructuralType>(this.
FunctionImport
, resultSetIndex, out structuralType);
System\Data\Query\InternalTrees\ColumnMapFactory.cs (1)
306
GetDiscriminatorOrdinalFromReader(storeDataReader, columnName, mapping.
FunctionImport
));