Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8832

Manually reset cache after bulk insert.

$
0
0
Im doing a bulk insert to insert records into a custom module class table.ConnectionHelper.BulkInsert(DataToAdd, @Custom.ObjectTable1@, bulkInsertSettings);This event is not clearing the cached list of records on the site. IS there a way to manually kill the cached list after the insert?if (cs.Cached){ cs.CacheDependency = CacheHelper.GetCacheDependency(new string[] {@Custom.Object1|all@, @nodeid|@+GridNode.NodeID, @Custom.Object2|all@ }); }

Viewing all articles
Browse latest Browse all 8832

Trending Articles