IShapedQueryCompilingExpressionVisitorFactory Arabirim

Tanım

Örnek oluşturmaya ShapedQueryCompilingExpressionVisitor yönelik bir fabrika.

public interface IShapedQueryCompilingExpressionVisitorFactory
type IShapedQueryCompilingExpressionVisitorFactory = interface
Public Interface IShapedQueryCompilingExpressionVisitorFactory

Açıklamalar

Hizmet ömrü şeklindedir Scoped. Bu, her DbContext örneğin bu hizmetin kendi örneğini kullanacağı anlamına gelir. Uygulama, herhangi bir yaşam süresiyle kaydedilen diğer hizmetlere bağlı olabilir. Uygulamanın iş parçacığı güvenli olması gerekmez.

Daha fazla bilgi ve örnek için bkz. Veritabanı sağlayıcılarının ve uzantıların uygulanması ve EF Core sorgularının çalışma şekli .

Yöntemler

Create(QueryCompilationContext)

Verilen QueryCompilationContextiçin yeni ShapedQueryCompilingExpressionVisitor bir oluşturur.

Şunlara uygulanır