AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

DomainLanguageHelper..::..GetLanguageById Method

Gets the language by identifier.

Namespace:  AdvantageCMS.Core.Utils
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public static Language GetLanguageById(
	SQL currentSql,
	int id
)

Parameters

currentSql
Type: AdvantageCMS.Data..::..SQL
The current SQL.
id
Type: Int32
The identifier.

Return Value

Language.