You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
537 B

2 years ago
  1. using System.Collections.Generic;
  2. using System.Linq;
  3. namespace SqlSugar
  4. {
  5. public class CacheKey
  6. {
  7. public string Database { get; set; }
  8. public List<string> Tables { get; set; }
  9. public List<string> IdentificationList { get; set; }
  10. public new string ToString()
  11. {
  12. return "SqlSugarDataCache" + UtilConstants.Dot + string.Join(UtilConstants.Dot, this.Tables) +UtilConstants.Dot+ string.Join(UtilConstants.Dot, this.IdentificationList.Where(it=>it.HasValue()));
  13. }
  14. }
  15. }