public PaymentTypeCustomTableLogic(IPaymentTypeCustomTableRepository paymentTypeAscFeeScheduleDetailsRepository) { if (paymentTypeAscFeeScheduleDetailsRepository != null) { _paymentTypeCustomTableRepository = paymentTypeAscFeeScheduleDetailsRepository; } }
/// <summary> /// Initializes a new instance of the <see cref="PaymentTypeCustomTableLogic"/> class. /// </summary> /// <param name="connectionString">The connection string.</param> public PaymentTypeCustomTableLogic(string connectionString) { _paymentTypeCustomTableRepository = Factory.CreateInstance <IPaymentTypeCustomTableRepository>(connectionString, true); }