1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace LYFZ.WinAPI
- {
- /// <summary>
- /// 数据库连接接口
- /// </summary>
- public interface IDBConnection
- {
- /// <summary>
- /// 数据库服务器地址(服务器名)
- /// </summary>
- string DataBaseServer
- {
- get;
- set;
- }
- /// <summary>
- /// 端口
- /// </summary>
- int DataBasePort
- {
- get;
- set;
- }
- /// <summary>
- /// 用户
- /// </summary>
- string DataBaseUser
- {
- get;
- set;
- }
- /// <summary>
- /// 密码
- /// </summary>
- string DataBasePass
- {
- get;
- set;
- }
- /// <summary>
- /// 数据库名
- /// </summary>
- string DataBaseName
- {
- get;
- set;
- }
- /// <summary>
- /// 获取数据库连接字任串
- /// </summary>
- string GetDBConnectionString();
- }
- }
|