Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Partial class declaration errors
Message
 
To
05/06/2012 00:12:23
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01531602
Message ID:
01545501
Views:
59
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform