DbEntityEntry<TEntity>.ComplexProperty Method

 

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

Namespace:   System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

NameDescription
System_CAPS_pubmethodComplexProperty(String)

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

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

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

System_CAPS_pubmethodComplexProperty<TComplexProperty>(String)

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


DbEntityEntry<TEntity>.ComplexProperty Method (String)

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

public DbComplexPropertyEntry ComplexProperty(
	string propertyName
)

Parameters

propertyName
Type: System.String

The name of the complex property.

Return Value

Type: System.Data.Entity.Infrastructure.DbComplexPropertyEntry

An object representing the complex property.


DbEntityEntry<TEntity>.ComplexProperty<TComplexProperty> Method (Expression<Func<TEntity, TComplexProperty>>)

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

[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
)

Parameters

property
Type: System.Linq.Expressions.Expression<Func<TEntity, TComplexProperty>>

An expression representing the complex property.

Return Value

Type: System.Data.Entity.Infrastructure.DbComplexPropertyEntry<TEntity, TComplexProperty>

An object representing the complex property.

Type Parameters

TComplexProperty

The type of the complex property.


DbEntityEntry<TEntity>.ComplexProperty<TComplexProperty> Method (String)

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

public DbComplexPropertyEntry<TEntity, TComplexProperty> ComplexProperty<TComplexProperty>(
	string propertyName
)

Parameters

propertyName
Type: System.String

The name of the complex property.

Return Value

Type: System.Data.Entity.Infrastructure.DbComplexPropertyEntry<TEntity, TComplexProperty>

An object representing the complex property.

Type Parameters

TComplexProperty

The type of the complex property.