Ensures that each page entity has appropriate localization present in the database. It there is no such entity, it is created.
Namespace: MonoSoftware.MonoX.RepositoriesAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
public virtual void EnsurePageLocalization(
PageEntity page,
Guid languageId
) |
Visual Basic |
---|
Public Overridable Sub EnsurePageLocalization (
page As PageEntity,
languageId As Guid
) |
Visual C++ |
---|
public:
virtual void EnsurePageLocalization(
PageEntity^ page,
Guid languageId
) |
F# |
---|
abstract EnsurePageLocalization :
page : PageEntity *
languageId : Guid -> unit
override EnsurePageLocalization :
page : PageEntity *
languageId : Guid -> unit |
Parameters
- page
- Type: PageEntity
PageEntity that holds the active page
- languageId
- Type: System..::..Guid
ID of the active language
Implements
IPageRepository..::..EnsurePageLocalization(PageEntity, Guid)See Also