public void Insert(LocalizationSettingsData localizationSettings)
 {
     Execute(
         @"INSERT INTO LOCALIZATION_SETTINGS (ID, ENTITY_ID, PARENT_ID, LANGUAGE, FORMATTING)
         VALUES (:id, :entity_id, :parent_id, :language, :formatting)",
         new
         {
             id = localizationSettings.Id.ToByteArray(),
             entity_id = localizationSettings.EntityId.ToByteArray(),
             parent_id = localizationSettings.ParentId.ToByteArray(),
             language = localizationSettings.Language,
             formatting = localizationSettings.Formatting
         });
 }
 public void Update(LocalizationSettingsData localizationSettings)
 {
     Execute(
         @"UPDATE LOCALIZATION_SETTINGS
         SET
             ENTITY_ID = :entity_id,
             PARENT_ID = :parent_id,
             LANGUAGE = :language,
             FORMATTING = :formatting
         WHERE ID = :id",
         new
         {
             id = localizationSettings.Id.ToByteArray(),
             entity_id = localizationSettings.EntityId.ToByteArray(),
             parent_id = localizationSettings.ParentId.ToByteArray(),
             language = localizationSettings.Language,
             formatting = localizationSettings.Formatting
         });
 }