共用方式為


RuntimeEntityType.IEntityType.FindServiceProperty(String) 方法

定義

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

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

參數

name
String

服務屬性的名稱。

傳回

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

實作

屬性

適用於