DbComplexPropertyEntry.Cast<TEntity, TComplexProperty> Method ()

 

Returns the equivalent generic DbComplexPropertyEntry<TEntity, TComplexProperty> object.

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

public DbComplexPropertyEntry<TEntity, TComplexProperty> Cast<TEntity, TComplexProperty>()
where TEntity : class

Return Value

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

The equivalent generic object.

Type Parameters

TEntity

The type of entity on which the member is declared.

TComplexProperty

The type of the complex property.