Removed seperate plugins project since you're always referencing both..

Added more loading logic
This commit is contained in:
SpoinkyNL committed 2018-04-06 19:54:25 +02:00
1 parent 3db4aab8bc
commit c22a78cd30
57 files changed
+959 -650

No files matched your search

+2 -2
View File
@@ -5,10 +5,10 @@ using System.ComponentModel.DataAnnotations.Schema;
namespace Artemis.Storage.Entities
{
[Table("Folders")]
internal class FolderEntity
public class FolderEntity
{
[Key]
public int Id { get; set; }
public string Guid { get; set; }
public int Order { get; set; }
public string Name { get; set; }
@@ -4,10 +4,10 @@ using System.ComponentModel.DataAnnotations.Schema;
namespace Artemis.Storage.Entities
{
[Table("Keypoints")]
internal class KeypointEntity
public class KeypointEntity
{
[Key]
public int Id { get; set; }
public string Guid { get; set; }
public int Time { get; set; }
public string Value { get; set; }
+2 -4
View File
@@ -5,12 +5,10 @@ using System.ComponentModel.DataAnnotations.Schema;
namespace Artemis.Storage.Entities
{
[Table("Layers")]
internal class LayerEntity
public class LayerEntity
{
[Key]
public int Id { get; set; }
public string Type { get; set; }
public string Guid { get; set; }
public virtual ICollection<LedEntity> Leds { get; set; }
public virtual ICollection<LayerSettingEntity> Settings { get; set; }
@@ -5,10 +5,10 @@ using System.ComponentModel.DataAnnotations.Schema;
namespace Artemis.Storage.Entities
{
[Table("LayerSettings")]
internal class LayerSettingEntity
public class LayerSettingEntity
{
[Key]
public int Id { get; set; }
public string Guid { get; set; }
public string Name { get; set; }
public string Value { get; set; }
+2 -2
View File
@@ -4,10 +4,10 @@ using System.ComponentModel.DataAnnotations.Schema;
namespace Artemis.Storage.Entities
{
[Table("Leds")]
internal class LedEntity
public class LedEntity
{
[Key]
public int Id { get; set; }
public string Guid { get; set; }
public string LedName { get; set; }
public string LimitedToDevice { get; set; }
@@ -1,14 +1,16 @@
using System.ComponentModel.DataAnnotations;
using System;
using System.ComponentModel.DataAnnotations;
namespace Artemis.Storage.Entities
{
internal class ProfileEntity
public class ProfileEntity
{
[Key]
public int Id { get; set; }
public string Guid { get; set; }
public Guid PluginGuid { get; set; }
public string Name { get; set; }
public string Module { get; set; }
public int RootFolderId { get; set; }
public virtual FolderEntity RootFolder { get; set; }
@@ -2,7 +2,7 @@
namespace Artemis.Storage.Entities
{
internal class SettingEntity
public class SettingEntity
{
[Key]
public string Name { get; set; }