private static bool MustCache(NodeType nodeType)
{
if (RepositoryConfiguration.CacheContentAfterSaveMode != RepositoryConfiguration.CacheContentAfterSaveOption.Containers)
return RepositoryConfiguration.CacheContentAfterSaveMode == RepositoryConfiguration.CacheContentAfterSaveOption.All ? true : false;
//return nodeType.IsInstaceOfOrDerivedFrom("Folder");
var type = TypeHandler.GetType(nodeType.ClassName);
return typeof(IFolder).IsAssignableFrom(type);
}
private static bool IsDeadlockException(System.Data.Common.DbException e)