Aracılığıyla paylaş


CoreStrings.NonGenericOptions(Object) Yöntem

Tanım

{contextType} oluşturucusna geçirilen DbContextOptions bir DbContextOptions<{contextType}> olmalıdır. Birden çok DbContext türü kaydederken, her bağlam türünün oluşturucusunun genel olmayan bir DbContextOptions parametresi yerine DbContextOptions<TContext> parametresine sahip olduğundan emin olun.

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

Parametreler

contextType
Object

Döndürülenler

Şunlara uygulanır