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

namespace NewLife.Model;

/// <summary>服务接口。</summary>
/// <remarks>服务代理XAgent可以附加代理实现了IServer接口的服务。</remarks>
public interface IServer
{
    /// <summary>开始</summary>
    void Start();

    /// <summary>停止</summary>
    /// <param name="reason">关闭原因。便于日志分析</param>
    void Stop(String? reason);
}