Skip to main content
.NET 6.0+

MSSql2005SqlDependencyCacheRoot.CreateSqlDependencyCacheRoot(IDataStore, SqlConnection, String, ISqlGeneratorFormatter, DataCacheConfiguration, out IDisposable[]) Method

OBSOLETE

Use CreateSqlDependencyCacheRoot instead.

Namespace: DevExpress.Xpo.DB.Helpers

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

[Obsolete("Use CreateSqlDependencyCacheRoot(IDbConnection connection, IDataStore nonCachedProvider, string originalConnectionString, ISqlGeneratorFormatter formatter, DataCacheConfiguration cacheConfiguration, out IDisposable[] objectsToDisposeOnDisconnect) instead.", false)]
public static ICacheToCacheCommunicationCore CreateSqlDependencyCacheRoot(
    IDataStore nonCachedProvider,
    SqlConnection connection,
    string originalConnectionString,
    ISqlGeneratorFormatter formatter,
    DataCacheConfiguration cacheConfiguration,
    out IDisposable[] objectsToDisposeOnDisconnect
)

Parameters

Name Type
nonCachedProvider IDataStore
connection SqlConnection
originalConnectionString String
formatter DevExpress.Xpo.DB.Helpers.ISqlGeneratorFormatter
cacheConfiguration DataCacheConfiguration
objectsToDisposeOnDisconnect IDisposable[]

Returns

Type
ICacheToCacheCommunicationCore
See Also