Hi,
I'm getting an exception executing the following code (I need a couple of columns from the orders table and all columns from the details table) This is ES 2007.1.1210.0:
Code:
OrdersQuery oQuery = new OrdersQuery("o");
OrderDetailsQuery dQuery = new OrderDetailsQuery("d");
oQuery.InnerJoin(dQuery).On(dQuery.OrderID == oQuery.OrderID);
oQuery.Select(oQuery.OrderID, dQuery);
OrdersCollection orders = new OrdersCollection();
orders.Load(oQuery);The exception is:
at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
at System.Collections.Generic.Dictionary`2.ContainsKey(TKey key)
at EntitySpaces.Interfaces.esColumnMetadataCollection.get_Item(String columnName) in C:\source\depot\ThirdParty\EntitySpaces\2007.1.1210.0\Source\EntitySpaces.Interfaces\esColumnMetadataCollection.cs:line 234
at EntitySpaces.Interfaces.esDynamicQuery.Load() in C:\source\depot\ThirdParty\EntitySpaces\2007.1.1210.0\Source\EntitySpaces.Interfaces\DynamicQuery\esDynamicQuery.cs:line 361
at BusinessObjects.OrdersCollection.Load(OrdersQuery query) in C:\source\depot\ThirdParty\EntitySpaces\2007.1.1210.0\EntitySpacesDemo\EntitySpacesDemo\Generated\Orders.cs:line 1568
at EntitySpacesDemo.Demo.DemoBasicsLoadAll() in C:\source\depot\ThirdParty\EntitySpaces\2007.1.1210.0\EntitySpacesDemo\EntitySpacesDemo\SampleCode.cs:line 94
at EntitySpacesDemo.Demo.buttonRun_Click(Object sender, EventArgs e) in C:\source\depot\ThirdParty\EntitySpaces\2007.1.1210.0\EntitySpacesDemo\EntitySpacesDemo\Demo.cs:line 860
Thanks,
Leonid