Exemplo n.º 1
0
        /// <summary>
        /// Primary constructor procedure.
        /// </summary>
        /// <param name="ConnectionString">database connection string.</param>
        public DataStructure(string ConnectionString)
        {
            // assign data ..
            if (ConnectionString != null && ConnectionString != string.Empty)
            {
                // create connection string instance ..
                DataBaseObject.DataConnectionString = ConnectionString;
                this.SqlConnectString = ConnectionString;
                // get base data schema ..
                this.MemoryDataBase = DataBaseObject.GetDataBaseSchema();

                // get base data ..
                DataBaseObject.GetDataBaseContent(ref this.MemoryDataBase);//??????????????????
            }
        }