DbContext.IDbContextPoolable.SetLease(DbContextLease) Metoda

Definicja

Jest to wewnętrzny interfejs API, który obsługuje infrastrukturę platformy Entity Framework Core i nie podlega tym samym standardom zgodności co publiczne interfejsy API. Można je zmienić lub usunąć bez powiadomienia w jakiejkolwiek wersji. Należy używać go bezpośrednio bezpośrednio w kodzie z wyjątkową ostrożnością i wiedząc, że może to spowodować błędy aplikacji podczas aktualizowania do nowej wersji programu Entity Framework Core.

[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

Parametry

lease
Microsoft.EntityFrameworkCore.Internal.DbContextLease

Implementuje

Microsoft.EntityFrameworkCore.Internal.IDbContextPoolable.SetLease(Microsoft.EntityFrameworkCore.Internal.DbContextLease)
Atrybuty

Dotyczy