解决MySql布尔型新旧版本兼容问题,采用枚举来表示布尔型的数据表。由正向工程赋值
大石头 authored at 2018-05-15 21:21:05
387.00 B
X
using System.Diagnostics;

namespace System.Collections;

internal sealed class CollectionDebuggerView
{
	private readonly ICollection c;

	[DebuggerBrowsable(DebuggerBrowsableState.RootHidden)]
	public object[] Items
	{
		get
		{
			object[] array = new object[c.Count];
			c.CopyTo(array, 0);
			return array;
		}
	}

	public CollectionDebuggerView(ICollection col)
	{
		c = col;
	}
}