解决MySql布尔型新旧版本兼容问题,采用枚举来表示布尔型的数据表。由正向工程赋值
using System; namespace NewLife.Queue.Storage.Exceptions { public class ChunkFileNotExistException : Exception { public ChunkFileNotExistException(string fileName) : base(string.Format("Chunk file '{0}' not exist.", fileName)) { } } }