protected override void OnBeginImport()
        {
            this._tablePrefix = string.Format("{0}_{1}_{2}_{3}", this.CurrentDelivery.Account.ID, this.CurrentDelivery.Name, DateTime.Now.ToString("yyyMMdd_HHmmss"), this.CurrentDelivery.DeliveryID.ToString("N").ToLower());
            this.CurrentDelivery.Parameters.Add(Consts.DeliveryHistoryParameters.TablePerfix, this._tablePrefix);

            int bufferSize = int.Parse(AppSettings.Get(this, Consts.AppSettings.BufferSize));

            // MAPPER: load measures and properties using account/channel and options
            // this.Measures =
            // this.MetaProperties =

            // Connect to database
            _sqlConnection = NewDeliveryDbConnection();
            _sqlConnection.Open();

            // OBJECTMANAGER: run SP to setup delivery object tables (Usid instead of GK)
            // EXAMPLE - ObjectManager.CreateDeliveryObjectTables(string tablePrefix)

            // TABLEMANAGER: run SP to create metrics table
            AdMetricsUnit exampleUnit = new AdMetricsUnit();

            _tableManager = new TableManager(_sqlConnection);
            string tableName = _tableManager.CreateDeliveryMetricsTable(this._tablePrefix, exampleUnit);

            this.CurrentDelivery.Parameters[Consts.DeliveryHistoryParameters.DeliveryMetricsTableName] = tableName;

            // CHECKSUMMANAGER: setup

            // MAPPER: setup bulks for objects and metrics
        }