Table of Contents

Class Language

Namespace
Oqtane.Models
Assembly
Oqtane.Shared.dll

Language Information for Sites TODO: todoc - unclear how this is different from Culture

public class Language : ModelBase, IAuditable
Inheritance
Language
Implements
Inherited Members

Properties

Code

Language / Culture code, like 'en-US' - corresponds to Name

public string Code { get; set; }

Property Value

string

IsDefault

Is this the default language on a Site

public bool IsDefault { get; set; }

Property Value

bool

LanguageId

Internal ID

public int LanguageId { get; set; }

Property Value

int

Name

[NotMapped]
public string Name { get; set; }

Property Value

string

SiteId

Reference to a Site TODO: todoc - unclear why it's nullable

public int? SiteId { get; set; }

Property Value

int?

Version

[NotMapped]
public string Version { get; set; }

Property Value

string

Methods

Clone()

public Language Clone()

Returns

Language