解决MySql布尔型新旧版本兼容问题,采用枚举来表示布尔型的数据表。由正向工程赋值
using System; namespace NewLife.Queue.Protocols.CenterServers.Requests { [Serializable] public class AddQueueForClusterRequest { public string ClusterName { get; set; } public string Topic { get; set; } } }