aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.BL/Entities/ActionLogBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Tango.BL/Entities/ActionLogBase.cs')
-rw-r--r--Software/Visual_Studio/Tango.BL/Entities/ActionLogBase.cs283
1 files changed, 0 insertions, 283 deletions
diff --git a/Software/Visual_Studio/Tango.BL/Entities/ActionLogBase.cs b/Software/Visual_Studio/Tango.BL/Entities/ActionLogBase.cs
deleted file mode 100644
index 060d81f8b..000000000
--- a/Software/Visual_Studio/Tango.BL/Entities/ActionLogBase.cs
+++ /dev/null
@@ -1,283 +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("ACTION_LOGS")]
- public abstract class ActionLogBase : ObservableEntity<ActionLog>
- {
-
- public event EventHandler<Int32> TypeChanged;
-
- public event EventHandler<String> RelatedObjectNameChanged;
-
- public event EventHandler<String> MessageChanged;
-
- public event EventHandler<String> DifferenceChanged;
-
- public event EventHandler<User> UserChanged;
-
- protected Int32 _type;
-
- /// <summary>
- /// Gets or sets the actionlogbase type.
- /// </summary>
-
- [Column("TYPE")]
-
- public Int32 Type
- {
- get
- {
- return _type;
- }
-
- set
- {
- if (_type != value)
- {
- _type = value;
-
- OnTypeChanged(value);
-
- }
- }
- }
-
- protected String _userguid;
-
- /// <summary>
- /// Gets or sets the actionlogbase user guid.
- /// </summary>
-
- [Column("USER_GUID")]
- [ForeignKey("User")]
-
- public String UserGuid
- {
- get
- {
- return _userguid;
- }
-
- set
- {
- if (_userguid != value)
- {
- _userguid = value;
-
- }
- }
- }
-
- protected String _relatedobjectname;
-
- /// <summary>
- /// Gets or sets the actionlogbase related object name.
- /// </summary>
-
- [Column("RELATED_OBJECT_NAME")]
-
- public String RelatedObjectName
- {
- get
- {
- return _relatedobjectname;
- }
-
- set
- {
- if (_relatedobjectname != value)
- {
- _relatedobjectname = value;
-
- OnRelatedObjectNameChanged(value);
-
- }
- }
- }
-
- protected String _relatedobjectguid;
-
- /// <summary>
- /// Gets or sets the actionlogbase related object guid.
- /// </summary>
-
- [Column("RELATED_OBJECT_GUID")]
-
- public String RelatedObjectGuid
- {
- get
- {
- return _relatedobjectguid;
- }
-
- set
- {
- if (_relatedobjectguid != value)
- {
- _relatedobjectguid = value;
-
- }
- }
- }
-
- protected String _message;
-
- /// <summary>
- /// Gets or sets the actionlogbase message.
- /// </summary>
-
- [Column("MESSAGE")]
-
- public String Message
- {
- get
- {
- return _message;
- }
-
- set
- {
- if (_message != value)
- {
- _message = value;
-
- OnMessageChanged(value);
-
- }
- }
- }
-
- protected String _difference;
-
- /// <summary>
- /// Gets or sets the actionlogbase difference.
- /// </summary>
-
- [Column("DIFFERENCE")]
-
- public String Difference
- {
- get
- {
- return _difference;
- }
-
- set
- {
- if (_difference != value)
- {
- _difference = value;
-
- OnDifferenceChanged(value);
-
- }
- }
- }
-
- protected User _user;
-
- /// <summary>
- /// Gets or sets the actionlogbase user.
- /// </summary>
-
- [XmlIgnore]
- [JsonIgnore]
- public virtual User User
- {
- get
- {
- return _user;
- }
-
- set
- {
- if (_user != value)
- {
- _user = value;
-
- if (User != null)
- {
- UserGuid = User.Guid;
- }
-
- OnUserChanged(value);
-
- }
- }
- }
-
- /// <summary>
- /// Called when the Type has changed.
- /// </summary>
- protected virtual void OnTypeChanged(Int32 type)
- {
- TypeChanged?.Invoke(this, type);
- RaisePropertyChanged(nameof(Type));
- }
-
- /// <summary>
- /// Called when the RelatedObjectName has changed.
- /// </summary>
- protected virtual void OnRelatedObjectNameChanged(String relatedobjectname)
- {
- RelatedObjectNameChanged?.Invoke(this, relatedobjectname);
- RaisePropertyChanged(nameof(RelatedObjectName));
- }
-
- /// <summary>
- /// Called when the Message has changed.
- /// </summary>
- protected virtual void OnMessageChanged(String message)
- {
- MessageChanged?.Invoke(this, message);
- RaisePropertyChanged(nameof(Message));
- }
-
- /// <summary>
- /// Called when the Difference has changed.
- /// </summary>
- protected virtual void OnDifferenceChanged(String difference)
- {
- DifferenceChanged?.Invoke(this, difference);
- RaisePropertyChanged(nameof(Difference));
- }
-
- /// <summary>
- /// Called when the User has changed.
- /// </summary>
- protected virtual void OnUserChanged(User user)
- {
- UserChanged?.Invoke(this, user);
- RaisePropertyChanged(nameof(User));
- }
-
- /// <summary>
- /// Initializes a new instance of the <see cref="ActionLogBase" /> class.
- /// </summary>
- public ActionLogBase() : base()
- {
- }
- }
-}