Class Language
public class Language : ModelBase, IAuditable
- Inheritance
-
objectLanguage
- 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
Language Name - corresponds to DisplayName, not Name Note that this property still exists in the database because columns cannot be dropped in SQLite Therefore the property must be retained/mapped even though the framework populates it from the Culture API
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()