共用方式為


DbComplexPropertyEntry.Cast<TEntity,TComplexProperty> 方法

定義

傳回相等的泛型 DbComplexPropertyEntry<TEntity,TComplexProperty> 物件。

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)

類型參數

TEntity

這是成員宣告所在之實體的型別。

TComplexProperty

複雜屬性的型別。

傳回

相等的泛型物件。

適用於