5 instantiations of TypeConstant
System.Data.Entity (5)
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryKB.cs (1)
211
Domain typeDomain = new Domain(derivedTypes.Select(derivedType => (Constant)new
TypeConstant
(derivedType)), domainMap.GetDomain(currentPath));
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (2)
788
Constant typeConstant = new
TypeConstant
(memberPath.EdmType);
1151
yield return new
TypeConstant
(type);
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (1)
167
TypeConstant derivedTypeConstant = new
TypeConstant
(derivedType);
System\Data\Mapping\ViewGeneration\Structures\TypeRestriction.cs (1)
224
yield return new
TypeConstant
(type);
25 references to TypeConstant
System.Data.Entity (25)
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQuery.cs (1)
121
if (domainValue is
TypeConstant
)
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryKB.cs (1)
193
new Domain(
TypeConstant
.Undefined, childDomain)), domainMap);
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (2)
431
TypeConstant
typeConstant = domainValue as
TypeConstant
;
System\Data\Mapping\ViewGeneration\Structures\CaseStatement.cs (4)
160
TypeConstant
typeConstant = constantSlot.CellConstant as
TypeConstant
;
361
TypeConstant
typeConstant = constantSlot.CellConstant as
TypeConstant
;
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (1)
167
TypeConstant
derivedTypeConstant = new TypeConstant(derivedType);
System\Data\Mapping\ViewGeneration\Structures\MemberRestriction.cs (2)
328
TypeConstant
typeConstant = (
TypeConstant
)constant;
System\Data\Mapping\ViewGeneration\Structures\TypeConstant.cs (2)
80
TypeConstant
rightTypeConstant = right as
TypeConstant
;
System\Data\Mapping\ViewGeneration\Structures\TypeRestriction.cs (8)
44
Debug.Assert(value is
TypeConstant
|| value.IsNull(), "Type or NULL expected.");
92
TypeConstant
typeConstant = constant as
TypeConstant
;
144
cqt = cqt.IsOfOnly(TypeUsage.Create(((
TypeConstant
)this.Domain.Values.Single()).EdmType));
149
List<DbExpression> operands = this.Domain.Values.Select(t => (DbExpression)cqt.IsOfOnly(TypeUsage.Create(((
TypeConstant
)t).EdmType))).ToList();
184
TypeConstant
typeConstant = constant as
TypeConstant
;
212
/// Given a list of <paramref name="types"/> (which can contain nulls), returns a corresponding list of <see cref="
TypeConstant
"/>s for those types.
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (4)
101
TypeConstant
typeConst = cellConst as
TypeConstant
;
612
TypeConstant
typeConst = cellConst as
TypeConstant
;