/// <summary> /// Converts a <see cref="CultureGroupEntity"/> data object into a <see cref="CultureGroup"/> domain model. /// </summary> /// <returns>The <see cref="CultureGroup"/> domain model.</returns> /// <param name="dataObject">The <see cref="CultureGroupEntity"/> data object.</param> internal static CultureGroup ToDomainModel(this CultureGroupEntity dataObject) { CultureGroup culture = new CultureGroup { Id = dataObject.Id, GraphicalCultures = dataObject.GraphicalCultures, Cultures = dataObject.Cultures.ToDomainModels() }; return(culture); }
public CultureGroupDefinition() { Entity = new CultureGroupEntity(); }