共用方式為


RuntimeEntityType.IReadOnlyEntityType.FindServiceProperty(String) 方法

定義

取得具有指定名稱的服務屬性。 如果未定義具有指定名稱的屬性,則傳 null 回 。

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyServiceProperty? IReadOnlyEntityType.FindServiceProperty (string name);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyServiceProperty IReadOnlyEntityType.FindServiceProperty (string name);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType.FindServiceProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyServiceProperty
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType.FindServiceProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyServiceProperty
Function FindServiceProperty (name As String) As IReadOnlyServiceProperty Implements IReadOnlyEntityType.FindServiceProperty

參數

name
String

服務屬性的名稱。

傳回

服務屬性,如果找不到,則 null 為 。

實作

屬性

適用於