IConventionDbFunctionBuilder.HasSchema(String, Boolean) Yöntem

Tanım

Veritabanı işlevinin şemasını ayarlar.

public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDbFunctionBuilder HasSchema (string schema, bool fromDataAnnotation = false);
public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDbFunctionBuilder? HasSchema (string? schema, bool fromDataAnnotation = false);
abstract member HasSchema : string * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDbFunctionBuilder
Public Function HasSchema (schema As String, Optional fromDataAnnotation As Boolean = false) As IConventionDbFunctionBuilder

Parametreler

schema
String

Veritabanındaki işlevin şeması.

fromDataAnnotation
Boolean

Yapılandırmanın bir veri ek açıklaması kullanılarak mı belirtilmediğini belirtir.

Döndürülenler

IConventionDbFunctionBuilder

Yapılandırma uygulanmışsa aynı Oluşturucu örneği, null tersi durumda.

Şunlara uygulanır