DomainLanguageHelper..::..GetDefaultLanguage Method
Returns the framework's default Language for the given domain: the primary
active language (IsPrimary == true), falling back to the lowest-ID active language
of the domain. Used as the safety-net resolution when language can't be resolved by
cookie/parameter/slug.
Namespace:
AdvantageCMS.Core.UtilsAssembly: AdvantageCMS.Core (in AdvantageCMS.Core.dll)
Syntax
Parameters
- currentSql
- Type: AdvantageCMS.Data..::..SQL
The current SQL connection.
- domain
- Type: AdvantageCMS.Core.Common.BusinessEntity..::..Domain
The domain whose default language to resolve.

