ConventionTypeBaseExtensions.IsIgnored(IConventionTypeBase, String) 方法

定義

指出是否忽略指定的成員名稱。

public static bool IsIgnored (this Microsoft.EntityFrameworkCore.Metadata.IConventionTypeBase entityType, string memberName);
static member IsIgnored : Microsoft.EntityFrameworkCore.Metadata.IConventionTypeBase * string -> bool
<Extension()>
Public Function IsIgnored (entityType As IConventionTypeBase, memberName As String) As Boolean

參數

entityType
IConventionTypeBase

要檢查忽略成員的類型。

memberName
String

可能忽略的成員名稱。

傳回

true 如果忽略指定的成員名稱,則為 。

適用於