1 override of Type
System.Data.Entity (1)
System\Data\Query\InternalTrees\Ops.cs (1)
545internal override TypeUsage Type
51 references to Type
System.Data.Entity (51)
System\Data\Mapping\FunctionImportMappingComposable.cs (3)
155if (TypeSemantics.IsEnumerationType(argumentNode.Op.Type)) 158targetIqtCommand.CreateSoftCastOp(TypeHelpers.CreateEnumUnderlyingTypeUsage(argumentNode.Op.Type)), 162Debug.Assert(TypeSemantics.IsPromotableTo(argumentNode.Op.Type, commandParam.ResultType), "Argument type must be promotable to parameter type.");
System\Data\Query\InternalTrees\Command.cs (9)
1691Var v = this.CreateComputedVar(expr.Op.Type); 1774if (!Command.EqualTypes(arg0.Op.Type, arg1.Op.Type)) 1776TypeUsage commonType = TypeHelpers.GetCommonTypeUsage(arg0.Op.Type, arg1.Op.Type); 1777Debug.Assert(commonType != null, "No common type for " + arg0.Op.Type + " and " + arg1.Op.Type); 1778if (!EqualTypes(commonType, arg0.Op.Type)) 1782if (!EqualTypes(commonType, arg1.Op.Type))
System\Data\Query\InternalTrees\Dump.cs (4)
1023if (null != op.Type) { 1024attrs.Add("Type", TypeHelpers.GetFullName(op.Type)); 1035if (null != op.Type) { 1036attrs2.Add("Type", TypeHelpers.GetFullName(op.Type));
System\Data\Query\InternalTrees\Ops.cs (1)
539return (other.OpType == this.OpType && TypeSemantics.IsStructurallyEqual(this.Type, other.Type));
System\Data\Query\PlanCompiler\ITreeGenerator.cs (4)
312if (TypeSemantics.IsCollectionType(_iqtCommand.Root.Op.Type)) 1163if (Command.EqualTypes(node.Op.Type, targetType)) 2769if (input.Op.Type.EdmType.BuiltInTypeKind == BuiltInTypeKind.RowType) 2771IList<EdmProperty> properties = TypeHelpers.GetProperties(input.Op.Type);
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (11)
370if (Command.EqualTypes(node.Op.Type, targetType)) 1723md.TypeUsage inputTypeUsage = n.Child0.Op.Type; 1813PlanCompiler.Assert(Command.EqualTypes(newType, n.Child0.Op.Type), 1836PlanCompiler.Assert(md.TypeSemantics.IsPrimitiveType(n.Child0.Op.Type), "Primitive type expected."); 1844PlanCompiler.Assert(md.TypeSemantics.IsPrimitiveType(n.Child0.Op.Type, md.PrimitiveTypeKind.Geography) || md.TypeSemantics.IsPrimitiveType(n.Child0.Op.Type, md.PrimitiveTypeKind.Geometry), "Union spatial type expected."); 1856if (underlyingType.PrimitiveTypeKind == ((md.PrimitiveType)n.Child0.Op.Type.EdmType).PrimitiveTypeKind) 1991if (!m_typeInfo.GetTypeInfo(n.Op.Type).HasNullSentinelProperty) 2005PlanCompiler.Assert(currentNullSentinel.Op.Type.EdmEquals(integerType), "Column that is expected to be a null sentinel is not of Integer type."); 2336md.TypeUsage inputType = n.Child0.Op.Type; 2337md.TypeUsage outputType = op.Type;
System\Data\Query\PlanCompiler\Normalizer.cs (3)
117PlanCompiler.Assert(TypeSemantics.IsCollectionType(collectionNode.Op.Type), "non-collection usage for Unnest?"); 141CollectOp collectOp = m_command.CreateCollectOp(n.Op.Type); 173softCastType = TypeHelpers.GetEdmType<CollectionType>(argNode.Op.Type).TypeUsage;
System\Data\Query\PlanCompiler\PlanCompilerUtil.cs (3)
50if (!n.Child1.Op.Type.EdmEquals(op.Type) || !n.Child2.Op.Type.EdmEquals(op.Type)) 82TypeSemantics.IsCollectionType(n.Child0.Op.Type) &&
System\Data\Query\PlanCompiler\PreProcessor.cs (8)
652m_command.CreateGetEntityRefOp(derefOpNode.Child0.Op.Type), 1228if (op.OpType == OpType.IsNull && TypeSemantics.IsRowType(n.Child0.Op.Type) || TypeSemantics.IsComplexType(n.Child0.Op.Type)) 1230StructuredTypeNullabilityAnalyzer.MarkAsNeedingNullSentinel(m_typesNeedingNullSentinel, n.Child0.Op.Type); 1375if (CanRewriteTypeTest(op.Type.EdmType, n.Child0.Op.Type.EdmType)) 1400if (CanRewriteTypeTest(op.IsOfType.EdmType, n.Child0.Op.Type.EdmType)) 1605EntityTypeBase entityType = (EntityTypeBase)op.Type.EdmType; 1673m_command.CreateNode(m_command.CreateGetRefKeyOp(keyExpr.Op.Type), sourceEndNode));
System\Data\Query\PlanCompiler\PropertyPushdownHelper.cs (1)
434if (!TypeUtils.IsStructuredType(op.Type))
System\Data\Query\PlanCompiler\TransformationRules.cs (4)
347Node thenNode = this.Command.CreateNode(this.Command.CreateNullOp(elseNode.Op.Type)); 348Node caseNode = this.Command.CreateNode(this.Command.CreateCaseOp(elseNode.Op.Type), whenNode, thenNode, elseNode); 1298newNode = context.Command.CreateNode(context.Command.CreateNullOp(castNullOp.Op.Type)); 3220Var newVar = m_command.CreateComputedVar(n.Child0.Op.Type);