Skip to content

LocalizationRowTranslations class

namespace: Serenity.Services   assembly: Serenity.Net.Services

Replaces the fields of rows with a LocalizationRowAttribute that were loaded without the list handler, e.g. by a lookup script, with their translations in the localization table of the row, like ApplyTranslations does for the rows with a SharedLocalizationAttribute.

public static class LocalizationRowTranslations

Public Members

name description
static Apply<TRow>(…) Replaces the localizable fields of the rows with their translations in the first of the languages that has one, with one query for all the rows. A field without a translation keeps its value.

See Also