You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
559 B
23 lines
559 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Apewer.Source
|
|
{
|
|
|
|
/// <summary>数据库引擎接口。</summary>
|
|
public interface IDatabaseBase : IDisposable
|
|
{
|
|
|
|
/// <summary>获取或设置日志记录器。</summary>
|
|
Logger Logger { get; set; }
|
|
|
|
/// <summary>数据库当前在线,表示连接可用。</summary>
|
|
bool Online { get; }
|
|
|
|
/// <summary>连接数据库,若未连接则尝试连接,获取连接成功的状态。</summary>
|
|
bool Connect();
|
|
|
|
}
|
|
|
|
}
|
|
|