performance improvements to reduce http and database interactions
This commit is contained in:
@ -83,6 +83,18 @@ namespace Oqtane.Models
|
||||
/// </summary>
|
||||
public string Version { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public Dictionary<string, string> Settings { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public List<Page> Pages { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public List<Module> Modules { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public List<Language> Languages { get; set; }
|
||||
|
||||
#region IAuditable Properties
|
||||
|
||||
/// <inheritdoc/>
|
||||
@ -101,17 +113,16 @@ namespace Oqtane.Models
|
||||
public string DeletedBy { get; set; }
|
||||
public DateTime? DeletedOn { get; set; }
|
||||
public bool IsDeleted { get; set; }
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
[NotMapped]
|
||||
public string SiteTemplateType { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public Dictionary<string, string> Settings { get; set; }
|
||||
|
||||
#region Obsolete properties
|
||||
[NotMapped]
|
||||
[Obsolete("This property is deprecated.", false)]
|
||||
public string DefaultLayoutType { get; set; }
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user