/// <summary> /// Initializes a new instance of the <see cref="ReferenceDataCollectionBase{TItem}"/> class with a default <see cref="ReferenceDataSortOrder.SortOrder"/>. /// </summary> /// <param name="sortOrder">The <see cref="ReferenceDataSortOrder"/>.</param> /// <param name="isCodeCaseSensitive">Indicates whether the <see cref="ReferenceDataBase.Code"/> is case sensitive.</param> protected ReferenceDataCollectionBase(ReferenceDataSortOrder sortOrder = ReferenceDataSortOrder.SortOrder, bool isCodeCaseSensitive = false) { SortOrder = sortOrder; IsCodeCaseSensitive = isCodeCaseSensitive; _rdcId = new ReferenceDataIdCollection(this); _rdcCode = new ReferenceDataCodeCollection(this); _mappingsDict = new Dictionary <MappingsKey, string>(); }