解决MySql布尔型新旧版本兼容问题,采用枚举来表示布尔型的数据表。由正向工程赋值
using BenchmarkDotNet.Configs; using BenchmarkDotNet.Running; var config = DefaultConfig.Instance; BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args, config);