Uploaded image for project: 'NHibernate [Moved to GitHub]'
  1. NH-3059

Contains broken when used on a path (Works in previous version)

    Details

    • Sprint:

      Description

      The following test that should be in NHibernate.Test.Linq.WhereTests shows the problem and this works in 3.2.0GA:

      Test
      public void AnimalsWithFathersSerialNumberListContains()
      {
      var serialNumbers = new List<string>

      { "5678", "789" }

      ;
      var query = (from animal in db.Animals
      where animal.Father != null && serialNumbers.Contains(animal.Father.SerialNumber)
      select animal).ToList();

      Assert.AreEqual(1, query.Count);
      }

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dewy Anthony Dewhirst
              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Who's Looking?