Udostępnij przez


DbReferenceEntry.Cast<TEntity,TProperty> Metoda

Definicja

Zwraca równoważny obiekt ogólny DbReferenceEntry<TEntity,TProperty> .

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

Parametry typu

TEntity

Typ jednostki, na której zadeklarowany jest element członkowski.

TProperty

Typ właściwości.

Zwraca

Równoważny obiekt ogólny.

Dotyczy