9 references to EntitySet
System.Data.Entity (9)
System\Data\Mapping\FunctionImportMappingComposable.cs (3)
43
Debug.Assert(functionImport.
EntitySet
== null || structuralTypeMappings != null, "Function import returning entities must have structuralTypeMappings.");
50
Debug.Assert(functionImport.
EntitySet
== null || targetFunctionKeys != null, "Keys must be inferred for a function import returning entities.");
348
if (DiscriminatorMap.TryCreateDiscriminatorMap(this.FunctionImport.
EntitySet
, queryExpression, out discriminatorMap))
System\Data\Query\PlanCompiler\PreProcessor.cs (6)
1146
if (op.Function.
EntitySet
!= null)
1148
m_entityTypeScopes.Push(op.Function.
EntitySet
);
1149
AddEntitySetReference(op.Function.
EntitySet
);
1161
if (op.Function.
EntitySet
!= null)
1164
PlanCompiler.Assert(scope == op.Function.
EntitySet
, "m_entityTypeScopes stack is broken");
1171
PlanCompiler.Assert(op.Function.
EntitySet
== null, "Entity type scope is not supported on functions that aren't mapped.");