aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.DAL.Remote/IObservableEntity.cs
blob: 88c5df99edabfab05a7063beaf2ee2742cad250d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.DAL.Remote.ObservableEntities;

namespace Tango.DAL.Remote
{
    public interface IObservableEntity
    {
        [EntityFieldName("ID")]
        Int32 ID { get; set; }

        [EntityFieldName("GUID")]
        String Guid { get; set; }

        [EntityFieldName("LAST_UPDATED")]
        DateTime LastUpdated { get; set; }

        [EntityFieldName("DELETED")]
        bool Deleted { get; set; }

        void Save();
    }
}