diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.Integration/Observables/Entities/UsersRole.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.Integration/Observables/Entities/UsersRole.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Integration/Observables/Entities/UsersRole.cs b/Software/Visual_Studio/Tango.Integration/Observables/Entities/UsersRole.cs index 3b8b2194f..8b274fd33 100644 --- a/Software/Visual_Studio/Tango.Integration/Observables/Entities/UsersRole.cs +++ b/Software/Visual_Studio/Tango.Integration/Observables/Entities/UsersRole.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 /// </summary> [Column("USER_GUID")] [ForeignKey("User")] + public String UserGuid { get @@ -58,6 +61,7 @@ namespace Tango.Integration.Observables /// </summary> [Column("ROLE_GUID")] [ForeignKey("Role")] + public String RoleGuid { get @@ -77,6 +81,8 @@ namespace Tango.Integration.Observables /// Gets or sets the usersrole role. /// </summary> + [XmlIgnore] + [JsonIgnore] public virtual Role Role { get @@ -96,6 +102,8 @@ namespace Tango.Integration.Observables /// Gets or sets the usersrole user. /// </summary> + [XmlIgnore] + [JsonIgnore] public virtual User User { get |
