diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.BL/Entities/GlobalDataStoreItemBase.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.BL/Entities/GlobalDataStoreItemBase.cs | 189 |
1 files changed, 0 insertions, 189 deletions
diff --git a/Software/Visual_Studio/Tango.BL/Entities/GlobalDataStoreItemBase.cs b/Software/Visual_Studio/Tango.BL/Entities/GlobalDataStoreItemBase.cs deleted file mode 100644 index 22acb12cb..000000000 --- a/Software/Visual_Studio/Tango.BL/Entities/GlobalDataStoreItemBase.cs +++ /dev/null @@ -1,189 +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("GLOBAL_DATA_STORE_ITEMS")] - public abstract class GlobalDataStoreItemBase : ObservableEntity<GlobalDataStoreItem> - { - - public event EventHandler<String> CollectionNameChanged; - - public event EventHandler<String> KeyChanged; - - public event EventHandler<Int32> DataTypeChanged; - - public event EventHandler<Byte[]> ValueChanged; - - protected String _collectionname; - - /// <summary> - /// Gets or sets the globaldatastoreitembase collection name. - /// </summary> - - [Column("COLLECTION_NAME")] - - public String CollectionName - { - get - { - return _collectionname; - } - - set - { - if (_collectionname != value) - { - _collectionname = value; - - OnCollectionNameChanged(value); - - } - } - } - - protected String _key; - - /// <summary> - /// Gets or sets the globaldatastoreitembase key. - /// </summary> - - [Column("KEY")] - - public String Key - { - get - { - return _key; - } - - set - { - if (_key != value) - { - _key = value; - - OnKeyChanged(value); - - } - } - } - - protected Int32 _datatype; - - /// <summary> - /// Gets or sets the globaldatastoreitembase data type. - /// </summary> - - [Column("DATA_TYPE")] - - public Int32 DataType - { - get - { - return _datatype; - } - - set - { - if (_datatype != value) - { - _datatype = value; - - OnDataTypeChanged(value); - - } - } - } - - protected Byte[] _value; - - /// <summary> - /// Gets or sets the globaldatastoreitembase value. - /// </summary> - - [Column("VALUE")] - - public Byte[] Value - { - get - { - return _value; - } - - set - { - if (_value != value) - { - _value = value; - - OnValueChanged(value); - - } - } - } - - /// <summary> - /// Called when the CollectionName has changed. - /// </summary> - protected virtual void OnCollectionNameChanged(String collectionname) - { - CollectionNameChanged?.Invoke(this, collectionname); - RaisePropertyChanged(nameof(CollectionName)); - } - - /// <summary> - /// Called when the Key has changed. - /// </summary> - protected virtual void OnKeyChanged(String key) - { - KeyChanged?.Invoke(this, key); - RaisePropertyChanged(nameof(Key)); - } - - /// <summary> - /// Called when the DataType has changed. - /// </summary> - protected virtual void OnDataTypeChanged(Int32 datatype) - { - DataTypeChanged?.Invoke(this, datatype); - RaisePropertyChanged(nameof(DataType)); - } - - /// <summary> - /// Called when the Value has changed. - /// </summary> - protected virtual void OnValueChanged(Byte[] value) - { - ValueChanged?.Invoke(this, value); - RaisePropertyChanged(nameof(Value)); - } - - /// <summary> - /// Initializes a new instance of the <see cref="GlobalDataStoreItemBase" /> class. - /// </summary> - public GlobalDataStoreItemBase() : base() - { - } - } -} |
