EntityMappingConfiguration<TEntityType>.Property メソッド (Expression<Func<TEntityType, DbGeometry>>)
[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]
このマッピング フラグメントに含まれる DbGeometry プロパティを構成します。
名前空間: 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 TEntityType, DbGeometry)) _
) As PropertyMappingConfiguration
'使用
Dim instance As EntityMappingConfiguration
Dim propertyExpression As Expression(Of Func(Of TEntityType, DbGeometry))
Dim returnValue As PropertyMappingConfiguration
returnValue = instance.Property(propertyExpression)
[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
[SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public PropertyMappingConfiguration Property(
Expression<Func<TEntityType, DbGeometry>> propertyExpression
)
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1006:DoNotNestGenericTypesInMemberSignatures")]
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1011:ConsiderPassingBaseTypesAsParameters")]
public:
PropertyMappingConfiguration^ Property(
Expression<Func<TEntityType, DbGeometry^>^>^ propertyExpression
)
[<SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")>]
[<SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")>]
member Property :
propertyExpression:Expression<Func<'TEntityType, DbGeometry>> -> PropertyMappingConfiguration
public function Property(
propertyExpression : Expression<Func<TEntityType, DbGeometry>>
) : PropertyMappingConfiguration
パラメーター
- propertyExpression
型 : System.Linq.Expressions.Expression<Func<TEntityType, DbGeometry>>
構成するプロパティを表すラムダ式。 C#:t => t.MyProperty VB.Net:Function(t) t.MyProperty
戻り値
型 : System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration
プロパティを構成するために使用できる構成オブジェクト。