1 write to FunctionImport
System.Data.Entity (1)
System\Data\Mapping\FunctionImportMapping.cs (1)
32this.FunctionImport = EntityUtil.CheckArgumentNull(functionImport, "functionImport");
16 references to FunctionImport
System.Data.Entity (16)
System\Data\EntityClient\EntityCommandDefinition.cs (3)
119EntitySet firstResultEntitySet = mapping.FunctionImport.EntitySets.FirstOrDefault(); 123_entitySets.Add(mapping.FunctionImport.EntitySets.FirstOrDefault()); 166EdmFunction functionImport = mapping.FunctionImport;
System\Data\Mapping\FunctionImportMappingComposable.cs (11)
123if (!Command.EqualTypes(functionViewType, this.FunctionImport.ReturnParameter.TypeUsage)) 125Debug.Assert(TypeSemantics.IsPromotableTo(functionViewType, this.FunctionImport.ReturnParameter.TypeUsage), "Mapping expression result type must be promotable to the c-space function return type."); 128CollectionType expectedCollectionType = (CollectionType)this.FunctionImport.ReturnParameter.TypeUsage.EdmType; 229TypeSemantics.IsPromotableTo(queryExpression.ResultType, this.FunctionImport.ReturnParameter.TypeUsage), 236TypeSemantics.IsEqual(queryExpression.ResultType, this.FunctionImport.ReturnParameter.TypeUsage), 252Debug.Assert(this.FunctionImport.Parameters.Count == m_commandParameters.Length, "this.FunctionImport.Parameters.Count == m_commandParameters.Length"); 256Debug.Assert(this.FunctionImport.Parameters.Contains(targetParameter.Name), "this.FunctionImport.Parameters.Contains(targetParameter.Name)"); 257var functionImportParameter = this.FunctionImport.Parameters.Single(p => p.Name == targetParameter.Name); 258yield return m_commandParameters[this.FunctionImport.Parameters.IndexOf(functionImportParameter)]; 348if (DiscriminatorMap.TryCreateDiscriminatorMap(this.FunctionImport.EntitySet, queryExpression, out discriminatorMap)) 439if (!MetadataHelper.TryGetFunctionImportReturnCollectionType(this.FunctionImport, 0, out functionImportReturnType))
System\Data\Mapping\FunctionImportMappingNonComposable.cs (1)
185MetadataHelper.TryGetFunctionImportReturnType<StructuralType>(this.FunctionImport, resultSetIndex, out structuralType);
System\Data\Query\InternalTrees\ColumnMapFactory.cs (1)
306GetDiscriminatorOrdinalFromReader(storeDataReader, columnName, mapping.FunctionImport));