In EF6 Code First the files are placed in a specific location inside the persistent & model projects
..\Northwind\Persistence\NorthwindModelBuilder.cs
namespace Northwind.Tutorial
{
/// <summary>Class which represents the DataContext for the project / group 'Northwind'</summary>
public partial class NorthwindDataContext : DbContext
..Northwind\Model\EntityClasses
namespace Northwind.Tutorial.EntityClasses
{
/// <summary>Class which represents the entity 'Category'.</summary>
[Serializable]
[DataContract(IsReference=true)]
public partial class Category : CommonEntityBase
How could I change it please so that I end up with:
- \Northwind\Northwind.Model\Model\EntityClasses\
- \Northwind\Northwind.DAL\DAL\NorthwindModelBuilder.cs
Thanks,
Patrick
PS: Link to a very related ticket about namespaces per project:
http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=24262