public BoardRepository() { _noteContext = new NoteContext(); // Disable proxy generation because of bug with EF 5 which is currently beeing used in the project. // The bug causes failiure whith json. _noteContext.Configuration.ProxyCreationEnabled = false; }
public NoteRepository() { // Create a new note context ( generated by EF) _noteContext = new NoteContext(); // Disable proxy generation for what appears to be a bug with the // serialization when returning the data via json. _noteContext.Configuration.ProxyCreationEnabled = false; }
public UserRepository() { _noteContext = new NoteContext(); }