語言

RelationalStrings.ReadonlyEntitySaved(Object) 方法

定義

實體類型 '{entityType}' 不會映射到資料表,因此這些實體無法持久化到資料庫。 在 'OnModelCreating' 裡呼叫「ToTable」來映射到資料表。

public static string ReadonlyEntitySaved(object? entityType);
public static string ReadonlyEntitySaved(object entityType);
static member ReadonlyEntitySaved : obj -> string
Public Shared Function ReadonlyEntitySaved (entityType As Object) As String

參數

entityType
Object

傳回

適用於