IReadOnlyModel.FindEntityTypes(Type) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得符合指定型別的實體類型。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType> FindEntityTypes (Type type);
abstract member FindEntityTypes : Type -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType>
Public Function FindEntityTypes (type As Type) As IEnumerable(Of IReadOnlyEntityType)
參數
- type
- Type
要尋找的實體類型類型。
傳回
找到的實體類型。
備註
如需詳細資訊和範例,請參閱 模型化實體類型和關聯 性。