Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ModelComparisonReportLogic"/> class.
 /// </summary>
 /// <param name="modelComparisonReportRepository">The model comparison report repository.</param>
 public ModelComparisonReportLogic(IModelComparisonReportRepository modelComparisonReportRepository)
 {
     if (modelComparisonReportRepository != null)
     {
         _modelComparisonReportRepository = modelComparisonReportRepository;
     }
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ModelComparisonReportLogic"/> class.
 /// </summary>
 /// <param name="connectionString">The connection string.</param>
 public ModelComparisonReportLogic(string connectionString)
 {
     _modelComparisonReportRepository = Factory.CreateInstance <IModelComparisonReportRepository>(connectionString, true);
 }