Hi,
I'm using RavenDB 472. When my LINQ query uses aliases in the
anonymous type ("Name", "Address" in the example below) the query
returns correct number of records but the aliased fields are empty. If
I don't use aliases everything works fine.
var documentStore = new DocumentStore() { Url =
"
http://localhost:8080" };
documentStore.Initialize();
using (var session =
documentStore.OpenSession("TestDB"))
{
var results =
session.Query<CompanyView>().Select(x => new
{
Name = x.CompanyName,
Address = x.CompanyAddress
}).ToArray();
}