I’m using EF 4.3.1 and “EF 4.x DbContext Generator for C#” for creating POCO using T4.
the classes generated are:
namespace MyProjects.Models
{
public partial class ReCategory
...
Why the class is PARTIAL?
POCO are not classes without the plumbing of EF?
If you think this question is not appropriate please comment I will remove it, thanks for your time.
Why shouldn’t they be? Just about every code generator these days will generate partial classes, so that you can add your own members to the class – in a separate file.
If these classes have to be regenerated, the file they are in will be completely replaced – but your customizations will survive.
Partial Class Definitions: