Aracılığıyla paylaş


MutableInterceptionContext.WithObjectContext(ObjectContext) Yöntem

Tanım

Verilen ObjectContextöğesinin eklenmesiyle bu kesme bağlamındaki tüm bağlamsal bilgileri içeren yeni MutableInterceptionContext bir oluşturur.

public System.Data.Entity.Infrastructure.Interception.MutableInterceptionContext WithObjectContext (System.Data.Entity.Core.Objects.ObjectContext context);
override this.WithObjectContext : System.Data.Entity.Core.Objects.ObjectContext -> System.Data.Entity.Infrastructure.Interception.MutableInterceptionContext
Public Function WithObjectContext (context As ObjectContext) As MutableInterceptionContext

Parametreler

context
ObjectContext

İlişkili bağlam.

Döndürülenler

Verilen bağlamla ilişkili yeni bir kesme bağlamı.

Şunlara uygulanır