DbComplexPropertyEntry<TEntity, TComplexProperty>.Property<TNestedProperty> メソッド (String)
[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]
このプロパティの入れ子プロパティを表すオブジェクトを取得します。 このメソッドはスカラー プロパティにも複合プロパティにも使用できます。
名前空間: System.Data.Entity.Infrastructure
アセンブリ: EntityFramework (EntityFramework.dll 内)
構文
'宣言
Public Function Property(Of TNestedProperty) ( _
propertyName As String _
) As DbPropertyEntry(Of TEntity, TNestedProperty)
'使用
Dim instance As DbComplexPropertyEntry
Dim propertyName As String
Dim returnValue As DbPropertyEntry(Of TEntity, TNestedProperty)
returnValue = instance.Property(propertyName)
public DbPropertyEntry<TEntity, TNestedProperty> Property<TNestedProperty>(
string propertyName
)
public:
generic<typename TNestedProperty>
DbPropertyEntry<TEntity, TNestedProperty>^ Property(
String^ propertyName
)
member Property :
propertyName:string -> DbPropertyEntry<'TEntity, 'TNestedProperty>
JScript does not support generic types and methods.
型パラメーター
- TNestedProperty
入れ子プロパティの型。
パラメーター
- propertyName
型 : System.String
入れ子プロパティの名前。
戻り値
型 : System.Data.Entity.Infrastructure.DbPropertyEntry<TEntity, TNestedProperty>
入れ子プロパティを表すオブジェクト。