1 instantiation of DbNullExpression
System.Data.Entity (1)
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (1)
585
return new
DbNullExpression
(nullType);
38 references to DbNullExpression
System.Data.Entity (38)
System\Data\Common\CommandTrees\BasicExpressionVisitor.cs (2)
206
/// Visitor pattern method for <see cref="
DbNullExpression
"/>.
210
public override void Visit(
DbNullExpression
expression)
System\Data\Common\CommandTrees\DbExpressionVisitor.cs (1)
204
public abstract void Visit(
DbNullExpression
expression);
System\Data\Common\CommandTrees\DbExpressionVisitor_TResultType.cs (1)
234
public abstract TResultType Visit(
DbNullExpression
expression);
System\Data\Common\CommandTrees\DbSetClause.cs (1)
56
/// Constrained to be a <see cref="DbConstantExpression"/> or <see cref="
DbNullExpression
"/>
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (1)
393
public override DbExpression Visit(
DbNullExpression
expression)
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (20)
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));
577
/// Creates a new <see cref="
DbNullExpression
"/>, which represents a typed null value.
582
public static
DbNullExpression
Null(this TypeUsage nullType)
2658
internal static
DbNullExpression
CreatePrimitiveNullExpression(PrimitiveTypeKind primitiveType)
System\Data\Common\CommandTrees\Internal\ExpressionDumper.cs (1)
446
public override void Visit(
DbNullExpression
e)
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (1)
293
public override void Visit(
DbNullExpression
e)
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (1)
510
public override TreeNode Visit(
DbNullExpression
e)
System\Data\Common\EntitySql\SemanticResolver.cs (1)
1451
internal
DbNullExpression
AggregateStubExpression;
System\Data\Mapping\Update\Internal\Propagator.Evaluator.cs (1)
454
public override PropagatorResult Visit(
DbNullExpression
node)
System\Data\Mapping\Update\Internal\UpdateExpressionVisitor.cs (1)
204
public override TReturn Visit(
DbNullExpression
expression)
System\Data\Mapping\ViewValidator.cs (1)
530
public override DbExpressionEntitySetInfo Visit(
DbNullExpression
expression)
System\Data\Query\PlanCompiler\ITreeGenerator.cs (1)
992
public override Node Visit(
DbNullExpression
e)
System\Data\SqlClient\SqlGen\DmlSqlGenerator.cs (1)
604
public override void Visit(
DbNullExpression
expression)
System\Data\SqlClient\SqlGen\Sql8ConformanceChecker.cs (1)
531
public override bool Visit(
DbNullExpression
expression)
System\Data\SqlClient\SqlGen\SqlGenerator.cs (2)
683
if (e.Else != null && !(e.Else is
DbNullExpression
))
1830
public override ISqlFragment Visit(
DbNullExpression
e)