DbEntityEntry<TEntity>.ComplexProperty<TComplexProperty> メソッド (Expression<Func<TEntity, TComplexProperty>>)
[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]
このエンティティの複合プロパティを表すオブジェクトを取得します。
名前空間: System.Data.Entity.Infrastructure
アセンブリ: EntityFramework (EntityFramework.dll 内)
構文
'宣言
<SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1719:ParameterNamesShouldNotMatchMemberNames", MessageId := "0#", _
Justification := "Rule predates more fluent naming conventions.")> _
Public Function ComplexProperty(Of TComplexProperty) ( _
property As Expression(Of Func(Of TEntity, TComplexProperty)) _
) As DbComplexPropertyEntry(Of TEntity, TComplexProperty)
'使用
Dim instance As DbEntityEntry
Dim property As Expression(Of Func(Of TEntity, TComplexProperty))
Dim returnValue As DbComplexPropertyEntry(Of TEntity, TComplexProperty)
returnValue = instance.ComplexProperty(property)
[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1719:ParameterNamesShouldNotMatchMemberNames", MessageId = "0#",
Justification = "Rule predates more fluent naming conventions.")]
public DbComplexPropertyEntry<TEntity, TComplexProperty> ComplexProperty<TComplexProperty>(
Expression<Func<TEntity, TComplexProperty>> property
)
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1006:DoNotNestGenericTypesInMemberSignatures")]
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1719:ParameterNamesShouldNotMatchMemberNames", MessageId = L"0#",
Justification = L"Rule predates more fluent naming conventions.")]
public:
generic<typename TComplexProperty>
DbComplexPropertyEntry<TEntity, TComplexProperty>^ ComplexProperty(
Expression<Func<TEntity, TComplexProperty>^>^ property
)
[<SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1719:ParameterNamesShouldNotMatchMemberNames", MessageId = "0#",
Justification = "Rule predates more fluent naming conventions.")>]
member ComplexProperty :
property:Expression<Func<'TEntity, 'TComplexProperty>> -> DbComplexPropertyEntry<'TEntity, 'TComplexProperty>
JScript does not support generic types and methods.
型パラメーター
- TComplexProperty
複合プロパティの型。
パラメーター
- property
型 : System.Linq.Expressions.Expression<Func<TEntity, TComplexProperty>>
複合プロパティを表す式。
戻り値
型 : System.Data.Entity.Infrastructure.DbComplexPropertyEntry<TEntity, TComplexProperty>
複合プロパティを表すオブジェクト。