49 references to Null
System.Data.Entity (49)
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (1)
397
return VisitTerminal(expression, CqtBuilder.
Null
);
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (19)
36
private static readonly DbNullExpression _binaryNull =
Null
(EdmProviderManifest.Instance.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Binary));
37
private static readonly DbNullExpression _boolNull =
Null
(EdmProviderManifest.Instance.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Boolean));
38
private static readonly DbNullExpression _byteNull =
Null
(EdmProviderManifest.Instance.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Byte));
39
private static readonly DbNullExpression _dateTimeNull =
Null
(EdmProviderManifest.Instance.GetCanonicalModelTypeUsage(PrimitiveTypeKind.DateTime));
40
private static readonly DbNullExpression _dateTimeOffsetNull =
Null
(EdmProviderManifest.Instance.GetCanonicalModelTypeUsage(PrimitiveTypeKind.DateTimeOffset));
41
private static readonly DbNullExpression _decimalNull =
Null
(EdmProviderManifest.Instance.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Decimal));
42
private static readonly DbNullExpression _doubleNull =
Null
(EdmProviderManifest.Instance.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Double));
43
private static readonly DbNullExpression _geographyNull =
Null
(EdmProviderManifest.Instance.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Geography));
44
private static readonly DbNullExpression _geometryNull =
Null
(EdmProviderManifest.Instance.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Geometry));
45
private static readonly DbNullExpression _guidNull =
Null
(EdmProviderManifest.Instance.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Guid));
46
private static readonly DbNullExpression _int16Null =
Null
(EdmProviderManifest.Instance.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Int16));
47
private static readonly DbNullExpression _int32Null =
Null
(EdmProviderManifest.Instance.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Int32));
48
private static readonly DbNullExpression _int64Null =
Null
(EdmProviderManifest.Instance.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Int64));
49
private static readonly DbNullExpression _sbyteNull =
Null
(EdmProviderManifest.Instance.GetCanonicalModelTypeUsage(PrimitiveTypeKind.SByte));
50
private static readonly DbNullExpression _singleNull =
Null
(EdmProviderManifest.Instance.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Single));
51
private static readonly DbNullExpression _stringNull =
Null
(EdmProviderManifest.Instance.GetCanonicalModelTypeUsage(PrimitiveTypeKind.String));
52
private static readonly DbNullExpression _timeNull =
Null
(EdmProviderManifest.Instance.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Time));
964
DbExpression escape = DbExpressionBuilder.
Null
(pattern.ResultType);
1858
constantOrNullExpression = DbExpressionBuilder.
Null
(resultType);
System\Data\Common\EntitySql\SemanticAnalyzer.cs (19)
588
leftExpr = DbExpressionBuilder.
Null
(rightExpr.ResultType);
593
rightExpr = DbExpressionBuilder.
Null
(leftExpr.ResultType);
1366
args[idx] = DbExpressionBuilder.
Null
(memberModelTypeUsage);
1525
args[i] = DbExpressionBuilder.
Null
(getParameterTypeUsage(parametersMetadata[i]));
2058
leftExpr = DbExpressionBuilder.
Null
(sr.TypeResolver.BooleanType);
2067
rightExpr = DbExpressionBuilder.
Null
(sr.TypeResolver.BooleanType);
2287
leftExpr = DbExpressionBuilder.
Null
(elementType);
2613
mSetExprs[i] = DbExpressionBuilder.
Null
(commonType);
2686
thenExprList[i] = DbExpressionBuilder.
Null
(resultType);
2702
elseExpr = DbExpressionBuilder.
Null
(resultType);
3615
converted = converted.ExpressionKind == CommandTrees.DbExpressionKind.Null ? converted : converted.ResultType.
Null
();
4773
thenExpr.Add(DbExpressionBuilder.
Null
(sr.TypeResolver.BooleanType));
4808
thenExpr.Add(DbExpressionBuilder.
Null
(sr.TypeResolver.BooleanType));
4986
exprToTreat = DbExpressionBuilder.
Null
(typeToTreatTo);
5042
return DbExpressionBuilder.
Null
(typeToCastTo);
5138
matchExpr = DbExpressionBuilder.
Null
(sr.TypeResolver.StringType);
5148
patternExpr = DbExpressionBuilder.
Null
(sr.TypeResolver.StringType);
5160
escapeExpr = DbExpressionBuilder.
Null
(sr.TypeResolver.StringType);
5236
valueExpr = DbExpressionBuilder.
Null
(rangeCommonType);
System\Data\Common\EntitySql\SemanticResolver.cs (1)
1140
AggregateStubExpression = resultType.
Null
();
System\Data\Mapping\Update\Internal\UpdateCompiler.cs (2)
442
return DbExpressionBuilder.
Null
(Helper.GetModelTypeUsage(property));
450
return DbExpressionBuilder.
Null
(Helper.GetModelTypeUsage(property));
System\Data\Mapping\ViewGeneration\Structures\Constant.cs (1)
176
return TypeUsage.Create(constType).
Null
();
System\Data\Objects\ELinq\ExpressionConverter.cs (1)
738
return DbExpressionBuilder.
Null
(expression.ResultType);
System\Data\Objects\ELinq\MethodCallTranslator.cs (1)
904
recreatedArgument = DbExpressionBuilder.
Null
(updatedType);
System\Data\Objects\ELinq\Translator.cs (1)
132
return DbExpressionBuilder.
Null
(type);
System\Data\Objects\Internal\ObjectSpanRewriter.cs (1)
438
DbExpression nullExpression = DbExpressionBuilder.
Null
(rewrittenRowTypeUsage);
System\Data\Query\PlanCompiler\CTreeGenerator.cs (2)
692
return DbExpressionBuilder.
Null
(op.Type);
817
elseExpr = DbExpressionBuilder.
Null
(op.Type);