public BaseDataService(DbWorkflowScope scope) { // this.DataAcessService = new DbTransactionHandle(scope.ConnectionString, ApplicationService.Instance.DbProvider); this.DataAcessService = new DbTransactionHandle(scope.Connection, scope.Transaction, ApplicationService.Instance.DbProvider); IsOperationSuccessful = true; RegisterSql(); }
///--------------------------------------------------------------------------------------- /// <summary> /// Initializes a new instance of the <see cref="OrderDataService"/> class. /// </summary> /// <param name="scope">The scope.</param> ///--------------------------------------------------------------------------------------- public OrderDataService(DbWorkflowScope scope) : base(scope) { RegisterSql(); }