Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Partial class declaration errors
Message
 
À
05/06/2012 00:12:23
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01531602
Message ID:
01545501
Vues:
60
Ricardo,

>OK, so what would cause the generation of the other partial class in each individual "table.cs"?
>
>public partial class StorageType : ABusinessObject<StorageTypeEntity>
>
>instead of
>
>public partial class StorageType : ABusinessEntity

Make sure the entities in your Entity Data Model have an "Entity" suffix. It looks like your business entities in the EDM have the same name as your business controllers, which is causing the confusion.

StorageType - business controller name
StorageTypeEntity - business entity name

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform