共用方式為


CoreStrings.NonGenericOptions(Object) 方法

定義

傳遞至 {coNtextType} 建構函式的 DbCoNtextOptions 必須是 DbCoNtextOptions < {coNtextType} > 。 註冊多個 DbCoNtext 類型時,請確定每個內容類型的建構函式都有 DbCoNtextOptions < TCoNtext > 參數,而不是非泛型 DbCoNtextOptions 參數。

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

參數

contextType
Object

傳回

適用於