英語で読む

次の方法で共有


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

定義

これは Entity Framework Core インフラストラクチャをサポートする内部 API であり、パブリック API と同じ互換性標準の対象ではありません。 これは、いかなるリリースでも予告なしに変更または削除される可能性があります。 コード内でのみ直接使用する必要があります。これを行うと、新しい Entity Framework Core リリースに更新するときにアプリケーションエラーが発生する可能性があることを認識してください。

C#
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
void IDbContextPoolable.SetLease (Microsoft.EntityFrameworkCore.Internal.DbContextLease lease);

パラメーター

lease
Microsoft.EntityFrameworkCore.Internal.DbContextLease

実装

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

適用対象

製品 バージョン
Entity Framework Core 5.0, 6.0, 7.0, 8.0, 9.0