aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Integration/Observables/Entities/User.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Tango.Integration/Observables/Entities/User.cs')
-rw-r--r--Software/Visual_Studio/Tango.Integration/Observables/Entities/User.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Integration/Observables/Entities/User.cs b/Software/Visual_Studio/Tango.Integration/Observables/Entities/User.cs
index bab42d5ff..3acfb8fb6 100644
--- a/Software/Visual_Studio/Tango.Integration/Observables/Entities/User.cs
+++ b/Software/Visual_Studio/Tango.Integration/Observables/Entities/User.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;
@@ -78,6 +80,7 @@ namespace Tango.Integration.Observables
/// </summary>
[Column("ORGANIZATION_GUID")]
[ForeignKey("Organization")]
+
public String OrganizationGuid
{
get
@@ -98,6 +101,7 @@ namespace Tango.Integration.Observables
/// </summary>
[Column("CONTACT_GUID")]
[ForeignKey("Contact")]
+
public String ContactGuid
{
get
@@ -118,6 +122,7 @@ namespace Tango.Integration.Observables
/// </summary>
[Column("ADDRESS_GUID")]
[ForeignKey("Address")]
+
public String AddressGuid
{
get
@@ -137,6 +142,8 @@ namespace Tango.Integration.Observables
/// Gets or sets the user address.
/// </summary>
+ [XmlIgnore]
+ [JsonIgnore]
public virtual Address Address
{
get
@@ -156,6 +163,8 @@ namespace Tango.Integration.Observables
/// Gets or sets the user contact.
/// </summary>
+ [XmlIgnore]
+ [JsonIgnore]
public virtual Contact Contact
{
get
@@ -213,6 +222,8 @@ namespace Tango.Integration.Observables
/// Gets or sets the user organization.
/// </summary>
+ [XmlIgnore]
+ [JsonIgnore]
public virtual Organization Organization
{
get