DbContext.IDbContextPoolable.SetLease(DbContextLease) Yöntem

Tanım

Bu, Entity Framework Core altyapısını destekleyen ve genel API 'Lerle aynı uyumluluk standartlarına tabi olmayan bir iç API 'dir. Herhangi bir yayında bildirimde bulunulmadan değiştirilebilir veya kaldırılabilir. Bunu yalnızca kodunda son derece dikkatli ve bunun yeni bir sürüme güncelleştirilen uygulama hatalarına neden olacağını bilerek Entity Framework Core gerekir.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
void IDbContextPoolable.SetLease (Microsoft.EntityFrameworkCore.Internal.DbContextLease lease);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member Microsoft.EntityFrameworkCore.Internal.IDbContextPoolable.SetLease : Microsoft.EntityFrameworkCore.Internal.DbContextLease -> unit
override this.Microsoft.EntityFrameworkCore.Internal.IDbContextPoolable.SetLease : Microsoft.EntityFrameworkCore.Internal.DbContextLease -> unit
Sub SetLease (lease As DbContextLease) Implements IDbContextPoolable.SetLease

Parametreler

lease
Microsoft.EntityFrameworkCore.Internal.DbContextLease

Uygulamalar

Microsoft.EntityFrameworkCore.Internal.IDbContextPoolable.SetLease(Microsoft.EntityFrameworkCore.Internal.DbContextLease)
Öznitelikler

Şunlara uygulanır