CSS separation, multi-tenancy fixes
This commit is contained in:
@ -15,33 +15,6 @@ namespace Oqtane.Models
|
||||
public string ModifiedBy { get; set; }
|
||||
public DateTime ModifiedOn { get; set; }
|
||||
|
||||
|
||||
[NotMapped]
|
||||
public string Scheme { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public string Url
|
||||
{
|
||||
get
|
||||
{
|
||||
return Scheme + "://" + Name;
|
||||
}
|
||||
}
|
||||
|
||||
[NotMapped]
|
||||
public string BaseUrl
|
||||
{
|
||||
get
|
||||
{
|
||||
string name = Name;
|
||||
if (name.Contains("/"))
|
||||
{
|
||||
name = name.Substring(0, name.IndexOf("/"));
|
||||
}
|
||||
return Scheme + "://" + name;
|
||||
}
|
||||
}
|
||||
|
||||
[NotMapped]
|
||||
public string Path
|
||||
{
|
||||
|
11
Oqtane.Shared/Models/ApplicationVersion.cs
Normal file
11
Oqtane.Shared/Models/ApplicationVersion.cs
Normal file
@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace Oqtane.Models
|
||||
{
|
||||
public class ApplicationVersion
|
||||
{
|
||||
public int ApplicationVersionId { get; set; }
|
||||
public string Version { get; set; }
|
||||
public DateTime CreatedOn { get; set; }
|
||||
}
|
||||
}
|
@ -8,6 +8,7 @@ namespace Oqtane.Models
|
||||
public string Name { get; set; }
|
||||
public string DBConnectionString { get; set; }
|
||||
public string DBSchema { get; set; }
|
||||
public bool IsInitialized { get; set; }
|
||||
|
||||
public string CreatedBy { get; set; }
|
||||
public DateTime CreatedOn { get; set; }
|
||||
|
Reference in New Issue
Block a user