DBConfigureCenter.h 741 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // DBConfigureCenter.h
  3. // zhuxun
  4. //
  5. // Created by winsoft on 17/4/24.
  6. //
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "DBStructModel.h"
  10. #define cacheFileList @"cacheFileList"
  11. #define downTransFileList @"downTransFileList"
  12. #define upTransFileList @"upTransFileList"
  13. #define downUpFolderRelationList @"downUpFolderRelationList"
  14. /**
  15. * DB 版本升级, 创建, 迁移中管理心.
  16. */
  17. @interface DBConfigureCenter : NSObject
  18. + (NSString *)getDBTableWithTableName:(NSString *)tableName className:(Class)className;
  19. + (NSString *)getKeysArrayStrWithClassName:(Class)className;
  20. //自动升级
  21. + (NSArray<DBStructModel *> *)sqlCloumnCheckWithClassName:(Class )className;
  22. //创建路径
  23. + (void)createCacheDirectory:(NSString *)path;
  24. @end