1 instantiation of ViewKeyConstraint
System.Data.Entity (1)
System\Data\Mapping\ViewGeneration\Validation\BasicKeyConstraint.cs (1)
51
ViewKeyConstraint viewKeyConstraint = new
ViewKeyConstraint
(viewCellRelation, viewSlots);
19 references to ViewKeyConstraint
System.Data.Entity (19)
System\Data\Mapping\ViewGeneration\Validation\BasicKeyConstraint.cs (2)
34
internal
ViewKeyConstraint
Propagate()
51
ViewKeyConstraint
viewKeyConstraint = new ViewKeyConstraint(viewCellRelation, viewSlots);
System\Data\Mapping\ViewGeneration\Validation\ViewKeyConstraint.cs (5)
42
internal bool Implies(
ViewKeyConstraint
second)
102
internal static ErrorLog.Record GetErrorRecord(
ViewKeyConstraint
rightKeyConstraint)
137
internal static ErrorLog.Record GetErrorRecord(IEnumerable<
ViewKeyConstraint
> rightKeyConstraints)
139
ViewKeyConstraint
rightKeyConstraint = null;
142
foreach (
ViewKeyConstraint
rightConstraint in rightKeyConstraints)
System\Data\Mapping\ViewGeneration\Validator.cs (12)
25
using ViewSchemaConstraints = SchemaConstraints<
ViewKeyConstraint
>;
177
ViewKeyConstraint
viewConstraint = keyConstraint.Propagate();
202
KeyToListMap<ExtentPair,
ViewKeyConstraint
> extentPairConstraints =
203
new KeyToListMap<ExtentPair,
ViewKeyConstraint
>(EqualityComparer<ExtentPair>.Default);
205
foreach (
ViewKeyConstraint
cKeyConstraint in cViewConstraints.KeyConstraints)
215
ReadOnlyCollection<
ViewKeyConstraint
> cKeyConstraints = extentPairConstraints.ListForKey(extentPair);
218
foreach (
ViewKeyConstraint
cKeyConstraint in cKeyConstraints)
220
foreach (
ViewKeyConstraint
sKeyConstraint in sViewConstraints.KeyConstraints)
232
m_errorLog.AddEntry(
ViewKeyConstraint
.GetErrorRecord(cKeyConstraints));
247
foreach (
ViewKeyConstraint
rightKeyConstraint in rightViewConstraints.KeyConstraints)
251
foreach (
ViewKeyConstraint
leftKeyConstraint in leftViewConstraints.KeyConstraints)
263
m_errorLog.AddEntry(
ViewKeyConstraint
.GetErrorRecord(rightKeyConstraint));