aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.DAL.Observables/IObservableEntity.cs
blob: 9bef6e6f09ec9479370a50e03edd898ade1cf441 (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
27
28
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.DAL.Observables
{
    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();

        void Delete();
    }
}