Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with Jump Start Defaults
Message
De
17/12/2006 00:50:19
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Problem with Jump Start Defaults
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01178365
Message ID:
01178365
Vues:
66
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
Fil
Voir

Click here to load this message in the networking platform