aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.BL/Entities/SitesRmlBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Tango.BL/Entities/SitesRmlBase.cs')
-rw-r--r--Software/Visual_Studio/Tango.BL/Entities/SitesRmlBase.cs175
1 files changed, 0 insertions, 175 deletions
diff --git a/Software/Visual_Studio/Tango.BL/Entities/SitesRmlBase.cs b/Software/Visual_Studio/Tango.BL/Entities/SitesRmlBase.cs
deleted file mode 100644
index d9111def7..000000000
--- a/Software/Visual_Studio/Tango.BL/Entities/SitesRmlBase.cs
+++ /dev/null
@@ -1,175 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-// This code was generated by a tool.
-// Tango Observables Generator
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated. Do not modify!
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-using System;
-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;
-using Tango.Core;
-using System.ComponentModel;
-using Tango.Core.CustomAttributes;
-
-namespace Tango.BL.Entities
-{
- [Table("SITES_RMLS")]
- public abstract class SitesRmlBase : ObservableEntity<SitesRml>
- {
-
- public event EventHandler<Rml> RmlChanged;
-
- public event EventHandler<Site> SiteChanged;
-
- protected String _siteguid;
-
- /// <summary>
- /// Gets or sets the sitesrmlbase site guid.
- /// </summary>
-
- [Column("SITE_GUID")]
- [ForeignKey("Site")]
-
- public String SiteGuid
- {
- get
- {
- return _siteguid;
- }
-
- set
- {
- if (_siteguid != value)
- {
- _siteguid = value;
-
- }
- }
- }
-
- protected String _rmlguid;
-
- /// <summary>
- /// Gets or sets the sitesrmlbase rml guid.
- /// </summary>
-
- [Column("RML_GUID")]
- [ForeignKey("Rml")]
-
- public String RmlGuid
- {
- get
- {
- return _rmlguid;
- }
-
- set
- {
- if (_rmlguid != value)
- {
- _rmlguid = value;
-
- }
- }
- }
-
- protected Rml _rml;
-
- /// <summary>
- /// Gets or sets the sitesrmlbase rml.
- /// </summary>
-
- [XmlIgnore]
- [JsonIgnore]
- public virtual Rml Rml
- {
- get
- {
- return _rml;
- }
-
- set
- {
- if (_rml != value)
- {
- _rml = value;
-
- if (Rml != null)
- {
- RmlGuid = Rml.Guid;
- }
-
- OnRmlChanged(value);
-
- }
- }
- }
-
- protected Site _site;
-
- /// <summary>
- /// Gets or sets the sitesrmlbase site.
- /// </summary>
-
- [XmlIgnore]
- [JsonIgnore]
- public virtual Site Site
- {
- get
- {
- return _site;
- }
-
- set
- {
- if (_site != value)
- {
- _site = value;
-
- if (Site != null)
- {
- SiteGuid = Site.Guid;
- }
-
- OnSiteChanged(value);
-
- }
- }
- }
-
- /// <summary>
- /// Called when the Rml has changed.
- /// </summary>
- protected virtual void OnRmlChanged(Rml rml)
- {
- RmlChanged?.Invoke(this, rml);
- RaisePropertyChanged(nameof(Rml));
- }
-
- /// <summary>
- /// Called when the Site has changed.
- /// </summary>
- protected virtual void OnSiteChanged(Site site)
- {
- SiteChanged?.Invoke(this, site);
- RaisePropertyChanged(nameof(Site));
- }
-
- /// <summary>
- /// Initializes a new instance of the <see cref="SitesRmlBase" /> class.
- /// </summary>
- public SitesRmlBase() : base()
- {
- }
- }
-}