aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.BL/Entities/PublishedProcedureProjectBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Tango.BL/Entities/PublishedProcedureProjectBase.cs')
-rw-r--r--Software/Visual_Studio/Tango.BL/Entities/PublishedProcedureProjectBase.cs305
1 files changed, 0 insertions, 305 deletions
diff --git a/Software/Visual_Studio/Tango.BL/Entities/PublishedProcedureProjectBase.cs b/Software/Visual_Studio/Tango.BL/Entities/PublishedProcedureProjectBase.cs
deleted file mode 100644
index b8792444d..000000000
--- a/Software/Visual_Studio/Tango.BL/Entities/PublishedProcedureProjectBase.cs
+++ /dev/null
@@ -1,305 +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("PUBLISHED_PROCEDURE_PROJECTS")]
- public abstract class PublishedProcedureProjectBase : ObservableEntity<PublishedProcedureProject>
- {
-
- public event EventHandler<String> NameChanged;
-
- public event EventHandler<String> DescriptionChanged;
-
- public event EventHandler<DateTime> PublishDateChanged;
-
- public event EventHandler<Int32> SortingIndexChanged;
-
- public event EventHandler<Boolean> IsVisibleChanged;
-
- public event EventHandler<Int32> VisibilityChanged;
-
- public event EventHandler<SynchronizedObservableCollection<PublishedProcedureProjectsVersion>> PublishedProcedureProjectsVersionsChanged;
-
- protected String _name;
-
- /// <summary>
- /// Gets or sets the publishedprocedureprojectbase name.
- /// </summary>
-
- [Column("NAME")]
-
- public String Name
- {
- get
- {
- return _name;
- }
-
- set
- {
- if (_name != value)
- {
- _name = value;
-
- OnNameChanged(value);
-
- }
- }
- }
-
- protected String _description;
-
- /// <summary>
- /// Gets or sets the publishedprocedureprojectbase description.
- /// </summary>
-
- [Column("DESCRIPTION")]
-
- public String Description
- {
- get
- {
- return _description;
- }
-
- set
- {
- if (_description != value)
- {
- _description = value;
-
- OnDescriptionChanged(value);
-
- }
- }
- }
-
- protected DateTime _publishdate;
-
- /// <summary>
- /// Gets or sets the publishedprocedureprojectbase publish date.
- /// </summary>
-
- [Column("PUBLISH_DATE")]
-
- public DateTime PublishDate
- {
- get
- {
- return _publishdate;
- }
-
- set
- {
- if (_publishdate != value)
- {
- _publishdate = value;
-
- OnPublishDateChanged(value);
-
- }
- }
- }
-
- protected Int32 _sortingindex;
-
- /// <summary>
- /// Gets or sets the publishedprocedureprojectbase sorting index.
- /// </summary>
-
- [Column("SORTING_INDEX")]
-
- public Int32 SortingIndex
- {
- get
- {
- return _sortingindex;
- }
-
- set
- {
- if (_sortingindex != value)
- {
- _sortingindex = value;
-
- OnSortingIndexChanged(value);
-
- }
- }
- }
-
- protected Boolean _isvisible;
-
- /// <summary>
- /// Gets or sets the publishedprocedureprojectbase is visible.
- /// </summary>
-
- [Column("IS_VISIBLE")]
-
- public Boolean IsVisible
- {
- get
- {
- return _isvisible;
- }
-
- set
- {
- if (_isvisible != value)
- {
- _isvisible = value;
-
- OnIsVisibleChanged(value);
-
- }
- }
- }
-
- protected Int32 _visibility;
-
- /// <summary>
- /// 0 - Public
- /// 1 - Internal
- /// </summary>
-
- [Column("VISIBILITY")]
-
- public Int32 Visibility
- {
- get
- {
- return _visibility;
- }
-
- set
- {
- if (_visibility != value)
- {
- _visibility = value;
-
- OnVisibilityChanged(value);
-
- }
- }
- }
-
- protected SynchronizedObservableCollection<PublishedProcedureProjectsVersion> _publishedprocedureprojectsversions;
-
- /// <summary>
- /// Gets or sets the publishedprocedureprojectbase published procedure projects versions.
- /// </summary>
-
- public virtual SynchronizedObservableCollection<PublishedProcedureProjectsVersion> PublishedProcedureProjectsVersions
- {
- get
- {
- return _publishedprocedureprojectsversions;
- }
-
- set
- {
- if (_publishedprocedureprojectsversions != value)
- {
- _publishedprocedureprojectsversions = value;
-
- OnPublishedProcedureProjectsVersionsChanged(value);
-
- }
- }
- }
-
- /// <summary>
- /// Called when the Name has changed.
- /// </summary>
- protected virtual void OnNameChanged(String name)
- {
- NameChanged?.Invoke(this, name);
- RaisePropertyChanged(nameof(Name));
- }
-
- /// <summary>
- /// Called when the Description has changed.
- /// </summary>
- protected virtual void OnDescriptionChanged(String description)
- {
- DescriptionChanged?.Invoke(this, description);
- RaisePropertyChanged(nameof(Description));
- }
-
- /// <summary>
- /// Called when the PublishDate has changed.
- /// </summary>
- protected virtual void OnPublishDateChanged(DateTime publishdate)
- {
- PublishDateChanged?.Invoke(this, publishdate);
- RaisePropertyChanged(nameof(PublishDate));
- }
-
- /// <summary>
- /// Called when the SortingIndex has changed.
- /// </summary>
- protected virtual void OnSortingIndexChanged(Int32 sortingindex)
- {
- SortingIndexChanged?.Invoke(this, sortingindex);
- RaisePropertyChanged(nameof(SortingIndex));
- }
-
- /// <summary>
- /// Called when the IsVisible has changed.
- /// </summary>
- protected virtual void OnIsVisibleChanged(Boolean isvisible)
- {
- IsVisibleChanged?.Invoke(this, isvisible);
- RaisePropertyChanged(nameof(IsVisible));
- }
-
- /// <summary>
- /// Called when the Visibility has changed.
- /// </summary>
- protected virtual void OnVisibilityChanged(Int32 visibility)
- {
- VisibilityChanged?.Invoke(this, visibility);
- RaisePropertyChanged(nameof(Visibility));
- }
-
- /// <summary>
- /// Called when the PublishedProcedureProjectsVersions has changed.
- /// </summary>
- protected virtual void OnPublishedProcedureProjectsVersionsChanged(SynchronizedObservableCollection<PublishedProcedureProjectsVersion> publishedprocedureprojectsversions)
- {
- PublishedProcedureProjectsVersionsChanged?.Invoke(this, publishedprocedureprojectsversions);
- RaisePropertyChanged(nameof(PublishedProcedureProjectsVersions));
- }
-
- /// <summary>
- /// Initializes a new instance of the <see cref="PublishedProcedureProjectBase" /> class.
- /// </summary>
- public PublishedProcedureProjectBase() : base()
- {
-
- PublishedProcedureProjectsVersions = new SynchronizedObservableCollection<PublishedProcedureProjectsVersion>();
-
- }
- }
-}