blob: c4280b54b3d5d3f71b5c09b54e0690014f543b94 (
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(DbContext context);
void Save(List<IObservableEntity> savedEntities, DbContext context);
}
}
|