CoreOptionsExtension.WithDetailedErrorsEnabled(Boolean) Yöntem

Tanım

Bu örnekle aynı tüm seçeneklere sahip yeni bir örnek oluşturur, ancak belirtilen seçenek değiştirilmiştir. Bu yöntemi doğrudan çağırma olağan dışıdır. Bunun yerine DbContextOptionsBuilder kullanın.

public virtual Microsoft.EntityFrameworkCore.Infrastructure.CoreOptionsExtension WithDetailedErrorsEnabled (bool detailedErrorsEnabled);
abstract member WithDetailedErrorsEnabled : bool -> Microsoft.EntityFrameworkCore.Infrastructure.CoreOptionsExtension
override this.WithDetailedErrorsEnabled : bool -> Microsoft.EntityFrameworkCore.Infrastructure.CoreOptionsExtension
Public Overridable Function WithDetailedErrorsEnabled (detailedErrorsEnabled As Boolean) As CoreOptionsExtension

Parametreler

detailedErrorsEnabled
Boolean

Değiştirme seçeneği.

Döndürülenler

CoreOptionsExtension

seçeneği değiştirilmiş yeni bir örnek.

Şunlara uygulanır