public void InsertOperator(EntityModel.Customer getcustomer) { #region Define the Base Insert Operator By Serviceconfig f**k this shit _getDaoManager.BeginTransaction(); try { _getbaseService.InsertOperator(getcustomer); _getDaoManager.CommitTransaction(); } catch { _getDaoManager.RollBackTransaction(); throw; } #endregion #region the Base Handle //if (_getsqlmaper != null) //{ // _getsqlmaper.BeginTransaction(); // try // { // _getsqlmaper.Insert("InsertCustomer", getcustomer); // _getsqlmaper.CommitTransaction(); // } // catch // { // _getsqlmaper.RollBackTransaction(); // throw; // } //} #endregion }