public void IQueryable_AddEqIncludeNull() { foreach (var parent in parentsInDB) { var loaded = Parents.AddEqIncludeNull(p => p.Name, parent.Name).SingleOrDefault(); Assert.IsNotNull(loaded); Assert.AreEqual(parent.Name, loaded.Name); } }
public void IQueryable_AddEqIncludeNull() { foreach (var parent in parentsInDB) { var loaded = Parents.AddEqIncludeNull(p => p.Name, parent.Name).SingleOrDefault(); Assert.IsNotNull(loaded); Assert.AreEqual(parent.Name, loaded.Name); } }