Closed jcoenen closed 15 years ago
To recreate var test = Category.LoadSingleOrDefault(c=>c.CategoryId=1); Assert.IsFalse(test.IsNew());
To fix (sorry unable to get github working through corp firewall/proxy so unable to fork/fix/pull)
Add this line to both SingleOrDefault() overloads single.SetIsNew(false);
FIXED: isNew should be false after loading with SingleOrDefault. Closed by f27205b098ebd0ff7c07454597bde7c45257e3a7
To recreate var test = Category.LoadSingleOrDefault(c=>c.CategoryId=1); Assert.IsFalse(test.IsNew());
To fix (sorry unable to get github working through corp firewall/proxy so unable to fork/fix/pull)
Add this line to both SingleOrDefault() overloads single.SetIsNew(false);