Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

Return to top

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.

Return to top

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

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

public:
generic<typename TComplexProperty>
[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1719:ParameterNamesShouldNotMatchMemberNames", 
	MessageId = "0#", Justification = "Rule predates more fluent naming conventions.")]
DbComplexPropertyEntry<TEntity, TComplexProperty>^ ComplexProperty(
	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.

Return to top

DbEntityEntry<TEntity>::ComplexProperty<TComplexProperty> Method (String^)

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

public:
generic<typename TComplexProperty>
DbComplexPropertyEntry<TEntity, TComplexProperty>^ ComplexProperty(
	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.

Return to top
Show: