DbEntityEntry<TEntity>.ComplexProperty Method

Definition

Overloads

ComplexProperty(String)

Gets an object that represents a complex property of this entity.

ComplexProperty<TComplexProperty>(Expression<Func<TEntity,TComplexProperty>>)

Gets an object that represents a complex property of this entity.

ComplexProperty<TComplexProperty>(String)

Gets an object that represents a complex property of this entity.

ComplexProperty(String)

Gets an object that represents a complex property of this entity.

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

Parameters

propertyName
String

The name of the complex property.

Returns

An object representing the complex property.

Applies to

ComplexProperty<TComplexProperty>(Expression<Func<TEntity,TComplexProperty>>)

Gets an object that represents a complex property of this entity.

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

Type Parameters

TComplexProperty

The type of the complex property.

Parameters

property
Expression<Func<TEntity,TComplexProperty>>

An expression representing the complex property.

Returns

An object representing the complex property.

Attributes

Applies to

ComplexProperty<TComplexProperty>(String)

Gets an object that represents a complex property of this entity.

public System.Data.Entity.Infrastructure.DbComplexPropertyEntry<TEntity,TComplexProperty> ComplexProperty<TComplexProperty> (string propertyName);
member this.ComplexProperty : string -> System.Data.Entity.Infrastructure.DbComplexPropertyEntry<'Entity, 'ComplexProperty (requires 'Entity : null)>
Public Function ComplexProperty(Of TComplexProperty) (propertyName As String) As DbComplexPropertyEntry(Of TEntity, TComplexProperty)

Type Parameters

TComplexProperty

The type of the complex property.

Parameters

propertyName
String

The name of the complex property.

Returns

An object representing the complex property.

Applies to