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); } }