Feature: Repository Monitor

Cached Job Index, Live Job Message Update
This commit is contained in:
Gary Sharp
2013-04-11 19:10:38 +10:00
parent b5531e64bd
commit b79723d432
34 changed files with 803 additions and 262 deletions
@@ -0,0 +1,35 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Disco.Data.Repository.Monitor
{
public class RepositoryMonitorEvent
{
[JsonIgnore]
public DiscoDataContext dbContext { get; set; }
public RepositoryMonitorEventType EventType { get; set; }
[JsonIgnore]
public Type EntityType { get; set; }
public string EntityTypeName
{
get
{
return EntityType.Name;
}
}
[JsonIgnore]
public object Entity { get; set; }
public object[] EntityKey { get; set; }
public string[] ModifiedProperties { get; set; }
}
}