About Microsoft.ApplicationBlocks.cache class (2)

xiaoxiao2021-03-06  50

The previous section told how to put the buffer entity into Cache to take a look at other operations for Cache [The data objects used here are enttemData, which can be changed to your data objects as needed.] Getcacheentity /////

/// Remove the corresponding buffer data entity /// /// /// /// EntityData Entity; Entity = cm.getdata (EntityKeycreator.createKey (EntityName, ID)) AS EntityData; Return Entity; /// /// Delete Specified Cache Entity // / /// cm.remove (entityKeycreator.createKey (entity);

///

/// Remove cache /// cm.flush ();

转载请注明原文地址:https://www.9cbs.com/read-63184.html

New Post(0)