NikolaiDante
NikolaiDante

Reputation: 18649

Split EDMX for Entity Framework - Breakout object layer into separate files - possible?

Is it possible to break out the partial classes in a split edmx's objectlayer.cs into a file per class?

Thanks

Upvotes: 2

Views: 2516

Answers (1)

Jim Wooley
Jim Wooley

Reputation: 10418

Most of the answers so far seem to be discussing splitting the EDMX into it's parts. It sounds from your question that you want to break out the generated classes into separate files. This is not currently supported, but you may be able to do it using the T4 templates with EF in 4.0. You can already do this using Damien Guard's L2ST4 templates for LINQ to SQL.

Jim Wooley

www.ThinqLinq.com

Upvotes: 2

Related Questions