From 95b4e14bc4e06ffb94199f5ec4e0d2d9bebceeff Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Sun, 18 Feb 2018 18:48:16 +0200 Subject: Working on new developer module. --- .../Tango.Integration/Observables/Entities/Organization.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Software/Visual_Studio/Tango.Integration/Observables/Entities/Organization.cs') diff --git a/Software/Visual_Studio/Tango.Integration/Observables/Entities/Organization.cs b/Software/Visual_Studio/Tango.Integration/Observables/Entities/Organization.cs index ca43cf4ed..014e8bc12 100644 --- a/Software/Visual_Studio/Tango.Integration/Observables/Entities/Organization.cs +++ b/Software/Visual_Studio/Tango.Integration/Observables/Entities/Organization.cs @@ -3,6 +3,8 @@ using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; +using System.Xml.Serialization; +using Newtonsoft.Json; using System.Linq; using Tango.DAL.Remote.DB; @@ -38,6 +40,7 @@ namespace Tango.Integration.Observables /// [Column("CONTACT_GUID")] [ForeignKey("Contact")] + public String ContactGuid { get @@ -58,6 +61,7 @@ namespace Tango.Integration.Observables /// [Column("ADDRESS_GUID")] [ForeignKey("Address")] + public String AddressGuid { get @@ -77,6 +81,8 @@ namespace Tango.Integration.Observables /// Gets or sets the organization address. /// + [XmlIgnore] + [JsonIgnore] public virtual Address Address { get @@ -96,6 +102,8 @@ namespace Tango.Integration.Observables /// Gets or sets the organization contact. /// + [XmlIgnore] + [JsonIgnore] public virtual Contact Contact { get -- cgit v1.3.1