Hi fgalarraga,
Did you add the following code to a new project? Thanks a lot for sharing.
Did you add the following code to a new project? Thanks a lot for sharing.
public interface IObjectState
{
[NotMapped]
ObjectState ObjectState { get; set; }
}
public enum ObjectState
{
Unchanged,
Added,
Modified,
Deleted
}
public abstract class Entity : IObjectState
{
[NotMapped]
public ObjectState ObjectState { get; set; }
}