예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ContractLogLogic"/> class.
 /// </summary>
 public ContractLogLogic(IContractLogRepository contractLogsRepository)
 {
     _contractLogsRepository = contractLogsRepository;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ContractLogLogic"/> class.
 /// </summary>
 /// <param name="connectionString">The connection string.</param>
 public ContractLogLogic(string connectionString)
 {
     _contractLogsRepository = Factory.CreateInstance <IContractLogRepository>(connectionString, true);
 }