Ejemplo n.º 1
0
        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);
            }
        }