Merge: Repository Monitor
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
<<<<<<< HEAD
|
||||
using System.Data.Entity.Infrastructure;
|
||||
using System.Data.Objects;
|
||||
=======
|
||||
>>>>>>> origin/Repository-Monitor
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
@@ -11,6 +14,7 @@ namespace Disco.Data.Repository.Monitor
|
||||
{
|
||||
public class RepositoryMonitorEvent
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
[JsonIgnore]
|
||||
internal ObjectStateEntry objectEntryState { get; set; }
|
||||
[JsonIgnore]
|
||||
@@ -21,6 +25,8 @@ namespace Disco.Data.Repository.Monitor
|
||||
[JsonIgnore]
|
||||
public DiscoDataContext dbContext { get; set; }
|
||||
|
||||
=======
|
||||
>>>>>>> origin/Repository-Monitor
|
||||
public RepositoryMonitorEventType EventType { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
@@ -40,6 +46,7 @@ namespace Disco.Data.Repository.Monitor
|
||||
public object[] EntityKey { get; set; }
|
||||
|
||||
public string[] ModifiedProperties { get; set; }
|
||||
<<<<<<< HEAD
|
||||
|
||||
public T GetPreviousPropertyValue<T>(string PropertyName)
|
||||
{
|
||||
@@ -52,5 +59,7 @@ namespace Disco.Data.Repository.Monitor
|
||||
{
|
||||
return (T)dbEntityState.CurrentValues[PropertyName];
|
||||
}
|
||||
=======
|
||||
>>>>>>> origin/Repository-Monitor
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user