I know, I know!!!! 2 feature request in the same hour!!!
But this one is really more of a discussion point rather than a request
I would like to be able to design some custom entity interfaces within the Desginer. Let me give you an example:
I have several tables that have some common fields:
CreatedBy
CreatedDate
IsActive
Now before the normalisation police arrest me, I don't want to put these fields in their own table for practicality reasons (performance etc)... So I end up with generated Enitities each of which have these common properties.
I would like to be able to create a custom interface in the designer and tag tables which implement this interface. The following interface would be generate and chosen Entities would implement it:
public interface IMyCommonFields
{
int CreatedByID { get; set; }
DateTime CreatedDate { get; set; }
bool IsActive { get; set; }
}
This would allow me to pass selected Entities around and access their common fields more elegantly...
What do you think?
Marcus