4 instantiations of ValueCondition
System.Data.Entity (4)
System\Data\Mapping\FunctionImportMapping.cs (4)
594
get { return new
ValueCondition
(_xPathValue.Value); }
686
internal readonly static ValueCondition IsNull = new
ValueCondition
(IsNullDescription, true);
687
internal readonly static ValueCondition IsNotNull = new
ValueCondition
(IsNotNullDescription, true);
688
internal readonly static ValueCondition IsOther = new
ValueCondition
(IsOtherDescription, true);
31 references to ValueCondition
System.Data.Entity (31)
System\Data\Mapping\FunctionImportMapping.cs (29)
280
DomainVariable<string,
ValueCondition
>[] variables = ConstructDomainVariables();
283
var converter = new DomainConstraintConversionContext<string,
ValueCondition
>();
294
private DomainVariable<string,
ValueCondition
>[] ConstructDomainVariables()
297
var discriminatorDomains = new Set<
ValueCondition
>[this.DiscriminatorColumns.Count];
300
discriminatorDomains[i] = new Set<
ValueCondition
>();
301
discriminatorDomains[i].Add(
ValueCondition
.IsOther);
302
discriminatorDomains[i].Add(
ValueCondition
.IsNull);
319
var discriminatorVariables = new DomainVariable<string,
ValueCondition
>[discriminatorDomains.Length];
323
discriminatorVariables[i] = new DomainVariable<string,
ValueCondition
>(
331
ConversionContext<DomainConstraint<string,
ValueCondition
>> converter,
332
DomainVariable<string,
ValueCondition
>[] variables)
346
var
conditionValue = columnCondition.ConditionValue;
351
var isNull = new TermExpr<DomainConstraint<string,
ValueCondition
>>(
352
new DomainConstraint<string,
ValueCondition
>(variables[j],
ValueCondition
.IsNull));
358
var hasValue = new TermExpr<DomainConstraint<string,
ValueCondition
>>(
359
new DomainConstraint<string,
ValueCondition
>(variables[j], conditionValue));
372
private Set<EntityType> FindReachableTypes(DomainConstraintConversionContext<string,
ValueCondition
> converter, Vertex[] mappingConditions)
423
private Set<EntityType> FindUnambiguouslyReachableTypes(DomainConstraintConversionContext<string,
ValueCondition
> converter, Vertex[] mappingConditions)
570
internal abstract
ValueCondition
ConditionValue { get; }
592
internal override
ValueCondition
ConditionValue
660
internal override
ValueCondition
ConditionValue
662
get { return IsNull ?
ValueCondition
.IsNull :
ValueCondition
.IsNotNull; }
677
internal class ValueCondition : IEquatable<
ValueCondition
>
686
internal readonly static
ValueCondition
IsNull = new ValueCondition(IsNullDescription, true);
687
internal readonly static
ValueCondition
IsNotNull = new ValueCondition(IsNotNullDescription, true);
688
internal readonly static
ValueCondition
IsOther = new ValueCondition(IsOtherDescription, true);
703
public bool Equals(
ValueCondition
other)
System\Data\Mapping\StorageMappingItemLoader.cs (2)
2379
if (condition.ConditionValue ==
ValueCondition
.IsNull)
2385
Debug.Assert(condition.ConditionValue ==
ValueCondition
.IsNotNull, "Only IsNull or IsNotNull condition values are expected.");