WarningsConfigurationBuilder.Ignore(CoreEventId[]) Yöntem

Tanım

Belirtilen çekirdek uyarıları oluşturulduğunda hiçbir şeyin oluşmasına neden olur. Veritabanı sağlayıcıları (ve diğer uzantılar), bu davranışı oluşturdukları uyarılarla yapılandırmak için bu yöntemin uzantı yöntemi aşırı yüklemeleri sağlayabilir.

public virtual Microsoft.EntityFrameworkCore.Infrastructure.WarningsConfigurationBuilder Ignore (params Microsoft.EntityFrameworkCore.Infrastructure.CoreEventId[] coreEventIds);
abstract member Ignore : Microsoft.EntityFrameworkCore.Infrastructure.CoreEventId[] -> Microsoft.EntityFrameworkCore.Infrastructure.WarningsConfigurationBuilder
override this.Ignore : Microsoft.EntityFrameworkCore.Infrastructure.CoreEventId[] -> Microsoft.EntityFrameworkCore.Infrastructure.WarningsConfigurationBuilder
Public Overridable Function Ignore (ParamArray coreEventIds As CoreEventId()) As WarningsConfigurationBuilder

Parametreler

coreEventIds
CoreEventId[]

CoreEventIdUyarı için olan (ler).

Döndürülenler

WarningsConfigurationBuilder

Birden çok çağrının zincirlenebilir olması için aynı Oluşturucu örneği.

Şunlara uygulanır