>I am in the process of creating the mm business classes. After I create them and build the business object library I get an error for every class built. The error is Partial declarations of 'Shawn.AW.Data.Address' must not specify different base classes c:\AW\AWDataLayer\EntityDataModel.cs
>
>The error above is for the Address table but every table has the same error.
>
>I am using VS 2010 MM.Net 4.0. My database is AdventureWorks in SqlServer 2008R2.
>
>My project was started from the MM.NET Entity Frameword Business Object Model.
>
>My selections for the business layer generator were:
>All defaults. Selected Entity Framework and Generate Partial Classes on the first screen.
>All of the tables. Made no changes to the business object settings or entity properties.
>Generate Data Access Layer was selected. Use Dynamic SQL Satements was selected.
>
>Immediately after the Generator created the classes I did a build and that is when I got the errors for every object that was built.
>
>Can someone tell me what is wrong?
Shawn,
It should be easy enough to look at the class files especially for those with the same class declarations and see what the base class is. If you plan to re-create them, then make sure all the folders are deleted first from your business project for the ones you want to re-create. This would make sure you don't have multiple declarations for the same classes. It could likley be because just as Linda mentioned.
Timothy
Timothy Bryan