internal DatabaseInfo(ServerInfo server) { this._server = server; this.loader = server.Loader; }
//public ServerInfo(string conn, string name) //{ // this._connection = conn; // this._name = name; // this._databases = new List<IDatabaseInfo>(); // loader = new SchemaLoader(MyMeta.dbDriver.SQL, "SqlClient", "C#", this._connection); //} public ServerInfo(DatabaseLink link) { _link = link; this._connection = link.ConnectionString; this._schemaConnection = link.SchemaConnectionString; this._name = link.ServerName; this._databases = new List<IDatabaseInfo>(); loader = new SchemaLoader(MyMeta.dbDriver.SQL, "SqlClient", "C#", link.SchemaConnectionString); }
internal ViewInfo(DatabaseInfo database) { this._database = database; this.loader = database.Loader; }
internal ProcedureInfo(DatabaseInfo database) { this._database = database; this.loader = database.Loader; }