32 references to ViewTarget
System.Data.Entity (32)
System\Data\Mapping\ViewGeneration\BasicViewGenerator.cs (4)
99
if (m_viewgenContext.
ViewTarget
== ViewTarget.QueryView)
629
bool isQueryView = (m_viewgenContext.
ViewTarget
== ViewTarget.QueryView);
633
if (isDisjointLeft && m_viewgenContext.
ViewTarget
== ViewTarget.QueryView)
641
if (m_viewgenContext.
ViewTarget
== ViewTarget.UpdateView &&
System\Data\Mapping\ViewGeneration\CellTreeSimplifier.cs (1)
399
LeftCellWrapper wrapper = new LeftCellWrapper(m_viewgenContext.
ViewTarget
, temp.Attributes,
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (15)
136
if (_context.
ViewTarget
== ViewTarget.QueryView)
209
if (_context.
ViewTarget
== ViewTarget.QueryView && MemberPath.EqualityComparer.Equals(currentPath, _extentPath))
238
switch (_context.
ViewTarget
)
302
if (_context.
ViewTarget
== ViewTarget.QueryView)
522
if (domainValue == Constant.Undefined && _context.
ViewTarget
== ViewTarget.QueryView)
538
if (_context.
ViewTarget
== ViewTarget.UpdateView)
556
Debug.Assert(_context.
ViewTarget
== ViewTarget.UpdateView || !_config.IsValidationEnabled);
563
string objectString = _context.
ViewTarget
== ViewTarget.QueryView ?
566
if (_context.
ViewTarget
== ViewTarget.QueryView)
574
RewritingValidator.EntityConfigurationToUserString(memberConditionQuery.Condition, builder, _context.
ViewTarget
== ViewTarget.UpdateView);
587
if (_context.
ViewTarget
== ViewTarget.UpdateView && needCaseStatement)
604
Debug.Assert(_context.
ViewTarget
== ViewTarget.UpdateView, "Used for update views only");
637
if (_context.
ViewTarget
== ViewTarget.QueryView)
661
if (_context.
ViewTarget
== ViewTarget.QueryView && _config.IsValidationEnabled)
834
bool isRelaxed = (_context.
ViewTarget
== ViewTarget.UpdateView);
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (12)
50
Debug.Assert(context.
ViewTarget
== ViewTarget.QueryView || context.Config.IsValidationEnabled);
52
if (context.
ViewTarget
== ViewTarget.QueryView && !context.Config.IsValidationEnabled)
86
if (m_viewgenContext.
ViewTarget
== ViewTarget.QueryView)
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
))
309
if (m_viewgenContext.
ViewTarget
== ViewTarget.UpdateView && nonAssociationWrappers.Any())
645
CellQuery anotherCellQuery = anotherCell.GetLeftQuery(m_viewgenContext.
ViewTarget
);
755
return FragmentQuery.Create(wrapper.OnlyInputCell.CellLabel.ToString(), wrapper.CreateRoleBoolean(), wrapper.OnlyInputCell.GetRightQuery(m_viewgenContext.
ViewTarget
));
768
return (m_viewgenContext.
ViewTarget
== ViewTarget.QueryView);