示例#1
0
 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();
 }
示例#2
0
 ///---------------------------------------------------------------------------------------
 /// <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();
 }