public bool Backup() { LoggerHelper.Instance.Information(string.Format("开始备份({0}-{1})的原始数据...", FileFullPath, typeof(T).FullName)); List <T> orginalentities = _Repository.Queryable.ToList(); JsonSerializeHelper.SerializeJson(orginalentities, BackupFileFullPath); LoggerHelper.Instance.Information(string.Format("备份({0}-{1})的成功", FileFullPath, typeof(T).FullName)); return(true); }