コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentTypeLesserOfLogic"/> class.
 /// </summary>
 /// <param name="paymentTypeLesserOfRepository">The payment type lesser of repository.</param>
 public PaymentTypeLesserOfLogic(IPaymentTypeLesserOfRepository paymentTypeLesserOfRepository)
 {
     if (paymentTypeLesserOfRepository != null)
     {
         _paymentTypeLesserOfRepository = paymentTypeLesserOfRepository;
     }
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentTypeLesserOfLogic"/> class.
 /// </summary>
 /// <param name="connectionString">The connection string.</param>
 public PaymentTypeLesserOfLogic(string connectionString)
 {
     _paymentTypeLesserOfRepository = Factory.CreateInstance <IPaymentTypeLesserOfRepository>(connectionString, true);
 }