Say I have a LINQ query like this:application = CreditDatabase                        .Applications                        .Select(Mapper.Map<Application>)                         .Where(c => c.uID == urID)                        .DefaultIfEmpty().First();It returns null if the LINQ query returns an empty result set.  Is this correct.  Is it better to return an empty object? If so then how can I do that? This link says it is not possible to return a non-null reference type: https://msdn.microsoft.com/en-us/library/bb360179(v=vs.110).aspx
Null or empty object when LINQ to Entities query returns nothing
c#;linq