Share via


DbComplexPropertyEntry.Cast<TEntity,TComplexProperty> Method

Definition

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

public System.Data.Entity.Infrastructure.DbComplexPropertyEntry<TEntity,TComplexProperty> Cast<TEntity,TComplexProperty> () where TEntity : class;
override this.Cast : unit -> System.Data.Entity.Infrastructure.DbComplexPropertyEntry<'Entity, 'ComplexProperty (requires 'Entity : null)> (requires 'Entity : null)
Public Function Cast(Of TEntity As Class, TComplexProperty As Class) () As DbComplexPropertyEntry(Of TEntity, TComplexProperty)

Type Parameters

TEntity

The type of entity on which the member is declared.

TComplexProperty

The type of the complex property.

Returns

The equivalent generic object.

Applies to