aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.BL/ObservableEntity.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-03-23 23:50:13 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-03-23 23:50:13 +0200
commit879a7c2179d991f4b68a513f60de3472b2e64102 (patch)
tree283332c93e59ff85e05a61c930760ec3b1b2525b /Software/Visual_Studio/Tango.BL/ObservableEntity.cs
parentd4cde3ccf2c29991b65285396fb97eafa1e434df (diff)
downloadTango-879a7c2179d991f4b68a513f60de3472b2e64102.tar.gz
Tango-879a7c2179d991f4b68a513f60de3472b2e64102.zip
Implemented cached entities using DataResolver<T>.
Implemented DataResolver Builder. Implemented offline gateway, authentication, machines... Implemented online checking. Moved FSEWebClient and Gateway to BL. Implemented blocking of machines outside of the organization.
Diffstat (limited to 'Software/Visual_Studio/Tango.BL/ObservableEntity.cs')
-rw-r--r--Software/Visual_Studio/Tango.BL/ObservableEntity.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.BL/ObservableEntity.cs b/Software/Visual_Studio/Tango.BL/ObservableEntity.cs
index a6dcdbbec..71ac2294a 100644
--- a/Software/Visual_Studio/Tango.BL/ObservableEntity.cs
+++ b/Software/Visual_Studio/Tango.BL/ObservableEntity.cs
@@ -29,6 +29,7 @@ using Tango.BL.Serialization;
using Newtonsoft.Json.Linq;
using Tango.BL.ActionLogs;
using Tango.BL.ValueObjects;
+using LiteDB;
namespace Tango.BL
{
@@ -71,6 +72,7 @@ namespace Tango.BL
/// </summary>
[Column("ID")]
[JsonIgnore]
+ [BsonIgnore]
[ParameterIgnore]
[DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
public Int32 ID
@@ -110,6 +112,7 @@ namespace Tango.BL
/// </summary>
[NotMapped]
[XmlIgnore]
+ [BsonIgnore]
[JsonIgnore]
[ParameterIgnore]
public ReadOnlyObservableCollection<ParameterItem> Parameters
@@ -131,6 +134,7 @@ namespace Tango.BL
/// </summary>
[ParameterIgnore]
[JsonIgnore]
+ [BsonIgnore]
[NotMapped]
public Type ObjectType
{
@@ -516,6 +520,7 @@ namespace Tango.BL
[NotMapped]
[ParameterIgnore]
[XmlIgnore]
+ [BsonIgnore]
[JsonIgnore]
public ObservableCollection<String> ValidationErrors
{
@@ -527,6 +532,7 @@ namespace Tango.BL
[NotMapped]
[ParameterIgnore]
[JsonIgnore]
+ [BsonIgnore]
[XmlIgnore]
public bool ValidateOnPropertyChanged
{
@@ -541,6 +547,7 @@ namespace Tango.BL
[NotMapped]
[ParameterIgnore]
[JsonIgnore]
+ [BsonIgnore]
[XmlIgnore]
public bool HasErrors
{