1 write to m_viewgenContext
System.Data.Entity (1)
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (1)
40
m_viewgenContext
= context;
27 references to m_viewgenContext
System.Data.Entity (27)
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (27)
71
ExceptionHelpers.ThrowMappingException(matcher.m_errorLog, matcher.
m_viewgenContext
.Config);
86
if (
m_viewgenContext
.ViewTarget == ViewTarget.QueryView)
89
Set<EdmType> unmapepdTypesInExtent = new Set<EdmType>(MetadataHelper.GetTypeAndSubtypesOf(
m_viewgenContext
.Extent.ElementType,
m_viewgenContext
.EdmItemCollection, false /*isAbstract*/));
92
foreach (var fragment in
m_viewgenContext
.AllWrappersForExtent)
116
Strings.ViewGen_Missing_Type_Mapping(BuildCommaSeparatedErrorString<EdmType>(unmapepdTypesInExtent)),
m_viewgenContext
.AllWrappersForExtent, ""));
183
List<LeftCellWrapper> leftCellWrappers =
m_viewgenContext
.AllWrappersForExtent;
196
CellQuery cellQuery = leftCellWrapper.OnlyInputCell.GetLeftQuery(
m_viewgenContext
.ViewTarget);
212
!IsMemberPartOfNotNullCondition(leftCellWrappers, memberPath,
m_viewgenContext
.ViewTarget))
222
if (
m_viewgenContext
.ViewTarget == ViewTarget.UpdateView)
225
memberPath.IsNullable && IsMemberPartOfNotNullCondition(new LeftCellWrapper[] { leftCellWrapper }, memberPath,
m_viewgenContext
.ViewTarget))
229
!IsMemberPartOfNotNullCondition(new LeftCellWrapper[] { leftCellWrapper }, rightMemberPath,
m_viewgenContext
.ViewTarget))
304
List<LeftCellWrapper> leftCellWrappers =
m_viewgenContext
.AllWrappersForExtent;
309
if (
m_viewgenContext
.ViewTarget == ViewTarget.UpdateView && nonAssociationWrappers.Any())
340
List<LeftCellWrapper> mappingFragments =
m_viewgenContext
.AllWrappersForExtent;
351
bool isSDisjoint = CompareS(ComparisonOP.IsDisjointFrom,
m_viewgenContext
, fragment1, fragment2, rightFragmentQuery1, rightFragmentQuery2);
352
bool isCDisjoint = CompareC(ComparisonOP.IsDisjointFrom,
m_viewgenContext
, fragment1, fragment2, rightFragmentQuery1, rightFragmentQuery2);
370
is1SubsetOf2_C = CompareC(ComparisonOP.IsContainedIn,
m_viewgenContext
, fragment1, fragment2, rightFragmentQuery1, rightFragmentQuery2);
371
is2SubsetOf1_C = CompareC(ComparisonOP.IsContainedIn,
m_viewgenContext
, fragment2, fragment1, rightFragmentQuery2, rightFragmentQuery1);
426
is1SubsetOf2_C = CompareC(ComparisonOP.IsContainedIn,
m_viewgenContext
, fragment1, fragment2, rightFragmentQuery1, rightFragmentQuery2);
427
is2SubsetOf1_C = CompareC(ComparisonOP.IsContainedIn,
m_viewgenContext
, fragment2, fragment1, rightFragmentQuery2, rightFragmentQuery1);
429
is1SubsetOf2_S = CompareS(ComparisonOP.IsContainedIn,
m_viewgenContext
, fragment1, fragment2, rightFragmentQuery1, rightFragmentQuery2);
430
is2SubsetOf1_S = CompareS(ComparisonOP.IsContainedIn,
m_viewgenContext
, fragment2, fragment1, rightFragmentQuery2, rightFragmentQuery1);
645
CellQuery anotherCellQuery = anotherCell.GetLeftQuery(
m_viewgenContext
.ViewTarget);
750
return
m_viewgenContext
.RightFragmentQP.IsEquivalentTo(rightFragmentQuery1, rightFragmentQuery2);
755
return FragmentQuery.Create(wrapper.OnlyInputCell.CellLabel.ToString(), wrapper.CreateRoleBoolean(), wrapper.OnlyInputCell.GetRightQuery(
m_viewgenContext
.ViewTarget));
768
return (
m_viewgenContext
.ViewTarget == ViewTarget.QueryView);