Поделиться через


DbPropertyExpression Implicit - преобразование (DbPropertyExpression to KeyValuePair<String, DbExpression>)

[Эта страница относится к документации к Entity Framework 6. Последняя версия доступна в составе пакета Entity Framework NuGet. Дополнительные сведения об Entity Framework см. в разделе msdn.com/data/ef.]

Включает неявное приведение в тип KeyValuePair<TKey, TValue>.

Пространство имен:  System.Data.Entity.Core.Common.CommandTrees
Сборка:  EntityFramework (в EntityFramework.dll)

Синтаксис

'Декларация
Public Shared Widening Operator CType ( _
    value As DbPropertyExpression _
) As KeyValuePair(Of String, DbExpression)
'Применение
Dim input As DbPropertyExpression 
Dim output As KeyValuePair(Of String, DbExpression)

output = CType(input, KeyValuePair(Of String, DbExpression))
public static implicit operator KeyValuePair<string, DbExpression> (
    DbPropertyExpression value
)
static implicit operator KeyValuePair<String^, DbExpression^> (
    DbPropertyExpression^ value
)
JScript supports the use of custom casts, but not the declaration of new ones.

Параметры

Возвращаемое значение

Тип: System.Collections.Generic.KeyValuePair<String, DbExpression>
Преобразованное значение.

См. также

Справочник

DbPropertyExpression Класс

System.Data.Entity.Core.Common.CommandTrees - пространство имен