Information générale
Catégorie:
The Mere Mortals .NET Framework
Jason,
Are you saying I can add entity objects to existing business objects using the generator?
>Hello, Alex
>
>Just to be sure we're on the same page, are you saying that you don't have an Entity property on your mmBusinessObject? If so, you may want to confirm which version of MM you're using. The Entity property is new to MM and available only in version 2.1
>
>Otherwise, the Entity property code in your subclass of mmBusinessObject is auto-generated by using the business layer generator. BTW, you'll also notice that in MM 2.1, the generator has options for business entity objects that didn't exist in previous versions.
>
>Hope that helps,
>---J
>
>>I am using ASP.NET with VB. I need to create a customer maintenance form, so I am following the Order form/biz obj thread in Jump starts.
>>
>>I cannot do what's suggested in "Jump Start: Creating Business Objects - VB .NET/Step 6 - Enhancing the Orders Business Object", where GetOrderByOrderID method returns Me.Entity. There is no Entity property on those classes (mmBusinessObject and subclasses), whether public or protected. They don't have OrdersEntity (or any XXXXEntity for that matter) data type either - GetOrderByOrderID( .... ) is supposed to return a variable of that type.
>>
>>Next step - Step 7 - Testing the Orders Business Object - I can't do at all. I simply don't have neither AAppTest.vb nor Business Layer Classes.cd files anywhere.
>>
>>What am I doing wrong?
>>
>>Thanks
Précédent
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