Share via


DbComplexPropertyEntry<TEntity,TComplexProperty>.Property Method

Definition

Overloads

Property(String)

Gets an object that represents a nested property of this property. This method can be used for both scalar or complex properties.

Property<TNestedProperty>(Expression<Func<TComplexProperty,TNestedProperty>>)

Gets an object that represents a nested property of this property. This method can be used for both scalar or complex properties.

Property<TNestedProperty>(String)

Gets an object that represents a nested property of this property. This method can be used for both scalar or complex properties.

Property(String)

Gets an object that represents a nested property of this property. This method can be used for both scalar or complex properties.

public System.Data.Entity.Infrastructure.DbPropertyEntry Property (string propertyName);
member this.Property : string -> System.Data.Entity.Infrastructure.DbPropertyEntry
Public Function Property (propertyName As String) As DbPropertyEntry

Parameters

propertyName
String

The name of the nested property.

Returns

An object representing the nested property.

Applies to

Property<TNestedProperty>(Expression<Func<TComplexProperty,TNestedProperty>>)

Gets an object that represents a nested property of this property. This method can be used for both scalar or complex properties.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1719:ParameterNamesShouldNotMatchMemberNames", Justification="Rule predates more fluent naming conventions.", MessageId="0#")]
public System.Data.Entity.Infrastructure.DbPropertyEntry<TEntity,TNestedProperty> Property<TNestedProperty> (System.Linq.Expressions.Expression<Func<TComplexProperty,TNestedProperty>> property);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1719:ParameterNamesShouldNotMatchMemberNames", Justification="Rule predates more fluent naming conventions.", MessageId="0#")]
public System.Data.Entity.Infrastructure.DbPropertyEntry<TEntity,TNestedProperty> Property<TNestedProperty> (System.Linq.Expressions.Expression<Func<TComplexProperty,TNestedProperty>> property);
member this.Property : System.Linq.Expressions.Expression<Func<'ComplexProperty, 'NestedProperty>> -> System.Data.Entity.Infrastructure.DbPropertyEntry<'Entity, 'NestedProperty (requires 'Entity : null)>
Public Function Property(Of TNestedProperty) (property As Expression(Of Func(Of TComplexProperty, TNestedProperty))) As DbPropertyEntry(Of TEntity, TNestedProperty)

Type Parameters

TNestedProperty

The type of the nested property.

Parameters

property
Expression<Func<TComplexProperty,TNestedProperty>>

An expression representing the nested property.

Returns

DbPropertyEntry<TEntity,TNestedProperty>

An object representing the nested property.

Attributes

Applies to

Property<TNestedProperty>(String)

Gets an object that represents a nested property of this property. This method can be used for both scalar or complex properties.

public System.Data.Entity.Infrastructure.DbPropertyEntry<TEntity,TNestedProperty> Property<TNestedProperty> (string propertyName);
member this.Property : string -> System.Data.Entity.Infrastructure.DbPropertyEntry<'Entity, 'NestedProperty (requires 'Entity : null)>
Public Function Property(Of TNestedProperty) (propertyName As String) As DbPropertyEntry(Of TEntity, TNestedProperty)

Type Parameters

TNestedProperty

The type of the nested property.

Parameters

propertyName
String

The name of the nested property.

Returns

DbPropertyEntry<TEntity,TNestedProperty>

An object representing the nested property.

Applies to