解决MySql布尔型新旧版本兼容问题,采用枚举来表示布尔型的数据表。由正向工程赋值
大石头
authored at
2018-05-15 21:21:05
X
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace NewLife.Net.Sockets
{
/// <summary>数据接收事件参数</summary>
public class ReceivedEventArgs : EventArgs
{
private Stream _Stream;
/// <summary>数据流</summary>
public Stream Stream { get { return _Stream; } set { _Stream = value; } }
/// <summary>实例化一个数据接收事件参数</summary>
/// <param name="steam"></param>
public ReceivedEventArgs(Stream steam) { Stream = steam; }
}
}
|