Exemplo n.º 1
0
 internal DatabaseInfo(ServerInfo server)
 {
     this._server = server;
     this.loader = server.Loader;
 }
Exemplo n.º 2
0
        //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);
        }
Exemplo n.º 3
0
 internal ViewInfo(DatabaseInfo database)
 {
     this._database = database;
     this.loader = database.Loader;
 }
Exemplo n.º 4
0
 internal ProcedureInfo(DatabaseInfo database)
 {
     this._database = database;
     this.loader = database.Loader;
 }