年度变更建库软件5.0版本
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.

17 lines
1006 B

6 months ago
using KGIS.Plugin.LayerProperty.Enum;
using System.Data;
namespace KGIS.Plugin.LayerProperty.Interface
{
public interface IRDBFactory
{
ICoreRDBHelper CreateDbHelper(string instance, string datasource, string userid, string password);
ICoreRDBHelper CreateDbHelper(IDbConnection DbConnection);
ICoreRDBHelper CreateDbHelper(string instance, string server, string database, string userid, string password, int port, DatabaseType dataBaseType);
ICoreRDBHelper CreateDbHelper(string instance, string server, string database, string userid, string password, DatabaseType dataBaseType);
bool TestConnect(string instance, string server, string database, string userid, string password, int port, DatabaseType dataBaseType);
bool TestConnect(string instance, string server, string database, string userid, string password, DatabaseType dataBaseType);
bool TestConnect(string instance, string datasource, string userid, string password);
}
}