protected void ExportLanguageCatalogueValue(DataEndpoint dataEndpoint, LanguageCatalogueValue value, int id) { var englishCatalogueItem = dataEndpoint.EnglishLanguageCatalogue.Read(id); var frenchCatalogueItem = dataEndpoint.FrenchLanguageCatalogue.Read(id); var germanCatalogueItem = dataEndpoint.GermanLanguageCatalogue.Read(id); englishCatalogueItem.Value = value.English; frenchCatalogueItem.Value = value.French; germanCatalogueItem.Value = value.German; dataEndpoint.EnglishLanguageCatalogue.Write(id, englishCatalogueItem); dataEndpoint.FrenchLanguageCatalogue.Write(id, frenchCatalogueItem); dataEndpoint.GermanLanguageCatalogue.Write(id, germanCatalogueItem); }
public SponsorFiaDataEntity(LanguageCatalogueValue languageCatalogueValue) { Name = languageCatalogueValue ?? throw new ArgumentNullException(nameof(languageCatalogueValue)); }
public SponsorDataEntity(LanguageCatalogueValue languageCatalogueValue) { Name = languageCatalogueValue ?? throw new ArgumentNullException(nameof(languageCatalogueValue)); Contracts = new List <SponsorContractObject>(); }
public NonF1ChiefMechanicDataEntity(LanguageCatalogueValue languageCatalogueValue) { Name = languageCatalogueValue ?? throw new ArgumentNullException(nameof(languageCatalogueValue)); }
protected void ImportLanguageCatalogueValue(DataEndpoint dataEndpoint, LanguageCatalogueValue value, int id) { value.English = dataEndpoint.EnglishLanguageCatalogue.Read(id).Value; value.French = dataEndpoint.FrenchLanguageCatalogue.Read(id).Value; value.German = dataEndpoint.GermanLanguageCatalogue.Read(id).Value; }
public CommentaryIndexDriverDataEntity(LanguageCatalogueValue languageCatalogueValue) { Name = languageCatalogueValue ?? throw new ArgumentNullException(nameof(languageCatalogueValue)); }
public F1ChiefDesignerDataEntity(LanguageCatalogueValue languageCatalogueValue) { Name = languageCatalogueValue ?? throw new ArgumentNullException(nameof(languageCatalogueValue)); }