I created a template stored procedure that created the schema for me. Worked beautifully. I have the schema to work with, now, and compile into the model project.
Now, the query...here is what I did (InventoryAging is the object that points to the stored procedure):
StoredProcRdbQuery aQuery = new InventoryAging.StoredProcRdbQuery(dtmAgingDate.Value);
InventoryAging currAging = (InventoryAging)mPersMgr.GetEntities(aQuery);
mInvAgingBS.DataSource = currAging;
I get a hiccup at the second line shown here. It says the following:
Unable to load type Model.InventoryAgingDataRow+StoredProcRdbQuery required for deserialization.
I thought I would follow the code that was outlined in the video, but I must still be doing something wrong. Any more tricks?