DbContext.IDbContextPoolable.SetLease(DbContextLease) メソッド

定義

これは Entity Framework Core インフラストラクチャをサポートする内部 API であり、パブリック API と同じ互換性標準の対象ではありません。 これは、いかなるリリースでも予告なしに変更または削除される可能性があります。 コード内でのみ直接使用する必要があります。これを行うと、新しい 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

パラメーター

lease
Microsoft.EntityFrameworkCore.Internal.DbContextLease

実装

Microsoft.EntityFrameworkCore.Internal.IDbContextPoolable.SetLease(Microsoft.EntityFrameworkCore.Internal.DbContextLease)
属性

適用対象