StructuralTypeConfiguration<TStructuralType>.Property - метод (Expression<Func<TStructuralType, Byte[]>>)
[Эта страница относится к документации к Entity Framework 6. Последняя версия доступна в составе пакета Entity Framework NuGet. Дополнительные сведения об Entity Framework см. в разделе msdn.com/data/ef.]
Настраивает свойство byte, определенное для этого типа.
Пространство имен: System.Data.Entity.ModelConfiguration.Configuration
Сборка: EntityFramework (в EntityFramework.dll)
Синтаксис
'Декларация
<SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")> _
<SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")> _
Public Function Property ( _
propertyExpression As Expression(Of Func(Of TStructuralType, Byte())) _
) As BinaryPropertyConfiguration
'Применение
Dim instance As StructuralTypeConfiguration
Dim propertyExpression As Expression(Of Func(Of TStructuralType, Byte()))
Dim returnValue As BinaryPropertyConfiguration
returnValue = instance.Property(propertyExpression)
[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
[SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public BinaryPropertyConfiguration Property(
Expression<Func<TStructuralType, byte[]>> propertyExpression
)
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1006:DoNotNestGenericTypesInMemberSignatures")]
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1011:ConsiderPassingBaseTypesAsParameters")]
public:
BinaryPropertyConfiguration^ Property(
Expression<Func<TStructuralType, array<unsigned char>^>^>^ propertyExpression
)
[<SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")>]
[<SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")>]
member Property :
propertyExpression:Expression<Func<'TStructuralType, byte[]>> -> BinaryPropertyConfiguration
public function Property(
propertyExpression : Expression<Func<TStructuralType, byte[]>>
) : BinaryPropertyConfiguration
Параметры
- propertyExpression
Тип: System.Linq.Expressions.Expression<Func<TStructuralType, Byte[]>>
Лямбда-выражение, представляющее свойство, которое нужно настроить. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Возвращаемое значение
Тип: System.Data.Entity.ModelConfiguration.Configuration.BinaryPropertyConfiguration
Объект настройки, который можно использовать для настройки этого свойства.
См. также
Справочник
StructuralTypeConfiguration<TStructuralType> Класс
System.Data.Entity.ModelConfiguration.Configuration - пространство имен