Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
Problem with Jump Start Defaults
Versions des environnements
Hello, All -
I've installed MM .NET v2.3 and am going through the jumpstarts (C#) again to look firsthand at any differences.
In step 4 (Generating Business Objects) of the C# "Creating Business Objects" jump start, I've noticed two things:
1. I'm not able to set the default value of the OrderID field in the OrderDetails table because the checkbox for setting/not setting it is dimmed out. I believe I read something earlier in the manual where foreign key values would be dimmed out, so I believe this is expected behavior now. But it is not addressed this way in the manual (at least the one I downloaded Friday evening).
2. The Business Layer Generator also does not seem to output an OrderDetailDefaults.cs class file as shown in Step 4, which then causes the following code entered in Step 14 of the "Windows Form Application - C#" jump start to not compile because there is not OrderDetailDefaults class:
this.oOrderDetail.NewRow(new OrderDetailDefaults(this.oOrder.Entity.OrderID));
Am I missing something, or have I perhaps jumped the gun and downloaded the Dev Guide before the revisions for 2.3 have been completed?
Yours,
Mark
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement