解决MySql布尔型新旧版本兼容问题,采用枚举来表示布尔型的数据表。由正向工程赋值
namespace XAgent { class Program { static void Main(string[] args) { AgentService.ServiceMain(); } } }