Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentTableLogic"/> class.
 /// </summary>
 /// <param name="paymentTableRepository">The payment table repository.</param>
 public PaymentTableLogic(IPaymentTableRepository paymentTableRepository)
 {
     if (paymentTableRepository != null)
     {
         _paymentTableRepository = paymentTableRepository;
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentTableLogic"/> class.
 /// </summary>
 /// <param name="connectionString">The connection string.</param>
 public PaymentTableLogic(string connectionString)
 {
     _paymentTableRepository = Factory.CreateInstance <IPaymentTableRepository>(connectionString, true);
 }