Example #1
0
 public void End(AopEnum action)
 {
     if (outerAop != null)
     {
         outerAop.End(action, Para);
     }
     if (!isHasCache && !IsTxtDataBase)
     {
         AutoCache.SetCache(action, Para); //找看有没有Cache
     }
 }
Example #2
0
 public void End(AopEnum action)
 {
     if (outerAop != null && (aopOp == AopOp.OpenAll || aopOp == AopOp.OnlyOuter))
     {
         outerAop.End(action, Para);
     }
     if (aopOp == AopOp.OpenAll || aopOp == AopOp.OnlyInner)
     {
         if (!isHasCache && !IsTxtDataBase && Para.IsSuccess) //Select内部调用了GetCount,GetCount的内部isHasCache为true影响了
         {
             AutoCache.SetCache(action, Para);                //找看有没有Cache
         }
     }
 }