DbEntityEntry<TEntity>::ComplexProperty Method
Gets an object that represents a complex property of this entity.
Assembly: EntityFramework (in EntityFramework.dll)
| Name | Description | |
|---|---|---|
![]() | 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. |
DbEntityEntry<TEntity>::ComplexProperty Method (String^)
Gets an object that represents a complex property of this entity.
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.
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.
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.
