AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

SQL..::..ClearParameterCache Method

Empties the process-wide stored-procedure parameter cache. The cache is static and shared across the AppDomain, so this affects every SQL instance. Intended for callers that need a guaranteed fresh parameter discovery — for example new-site initialization, which runs the first discovery against a brand-new database whose connection pools were just cleared.

Namespace:  AdvantageCMS.Data
Assembly:  AdvantageCMS.Data (in AdvantageCMS.Data.dll)

Syntax


public static void ClearParameterCache()