Freigeben über


DbExpression Implicit-Konvertierung (DbGeography to DbExpression)

[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]

Konvertiert ein DbGeography-Objekt in einen DbExpression.

Namespace:  System.Data.Entity.Core.Common.CommandTrees
Assembly:  EntityFramework (in EntityFramework.dll)

Syntax

'Declaration
Public Shared Widening Operator CType ( _
    value As DbGeography _
) As DbExpression
'Usage
Dim input As DbGeography 
Dim output As DbExpression 

output = CType(input, DbExpression)
public static implicit operator DbExpression (
    DbGeography value
)
static implicit operator DbExpression^ (
    DbGeography^ value
)
JScript supports the use of custom casts, but not the declaration of new ones.

Parameter

Rückgabewert

Typ: System.Data.Entity.Core.Common.CommandTrees.DbExpression
Ein DbExpression, das das konvertierte DbGeography-Objekt darstellt.

Siehe auch

Verweis

DbExpression Klasse

Implicit-Überladung

System.Data.Entity.Core.Common.CommandTrees-Namespace