I am stepping through the MM.Net documentation's Jump Start tutorials.
I have completed successfully all of the steps in Creating Entity Framework Business Objects - C#.
I am now creating my first Web form based on the steps found in Web Forms Application - C#
After creating and running the Customer Orders Form I am getting a run time error that I am having difficulty figuring out.
In the Order.Partial.cs file in method GetCustomerOrders I get the following error:
Error Framework object query execution requested, but no Entity Framework data access class has been specified for this business object.
This run-time error occurs at the line of code reading: return this.GetEntityList(query);
I am using VS 2010 with the MM.Net 4.0 framework on a Windows Vista OS.
I checked the value of customerID while debugging the method and it had the correct value "ROMEY".
Anyone have any idea what this error is telling me?
Full Method listed here is part of the Order class created in Creating Entity Framework Business Objects - C#.:
public mmBindingList<OrderEntity> GetOrdersByCustomerID(string customerID)
{
IQueryable<OrderEntity> query = from order in this.ObjectContext.OrderEntities
where order.CustomerID == customerID
select order;
return this.GetEntityList(query);
}