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