1 write to m_structuralTypeMappings
System.Data.Entity (1)
System\Data\Mapping\FunctionImportMappingComposable.cs (1)
57
m_structuralTypeMappings
= structuralTypeMappings;
13 references to m_structuralTypeMappings
System.Data.Entity (13)
System\Data\Mapping\FunctionImportMappingComposable.cs (13)
225
if (
m_structuralTypeMappings
!= null)
273
Debug.Assert(
m_structuralTypeMappings
!= null &&
m_structuralTypeMappings
.Count > 0, "m_structuralTypeMappings != null && m_structuralTypeMappings.Count > 0");
282
if (
m_structuralTypeMappings
.Count == 1)
284
var mapping =
m_structuralTypeMappings
[0];
310
Debug.Assert(
m_structuralTypeMappings
.All(m => m.Item2.Count > 0), "In multi-type mapping each type must have conditions.");
311
List<DbExpression> structuralTypePredicates =
m_structuralTypeMappings
.Select(m => GenerateStructuralTypeConditionsPredicate(m.Item2, binding.Variable)).ToList();
317
List<DbExpression> structuralTypeMappingViews = new List<DbExpression>(
m_structuralTypeMappings
.Count);
318
foreach (var mapping in
m_structuralTypeMappings
)
334
if (structuralTypeMappingViews.Count !=
m_structuralTypeMappings
.Count)
342
structuralTypePredicates.Take(
m_structuralTypeMappings
.Count - 1),
343
structuralTypeMappingViews.Take(
m_structuralTypeMappings
.Count - 1),
344
structuralTypeMappingViews[
m_structuralTypeMappings
.Count - 1]);