解决MySql布尔型新旧版本兼容问题,采用枚举来表示布尔型的数据表。由正向工程赋值
using System.IO; namespace NewLife.Queue.Storage { public interface ILogRecord { void WriteTo(long logPosition, BinaryWriter writer); void ReadFrom(byte[] recordBuffer); } }