DDD: Can I have my persistence layer object implement an interface that uses enum, with implicit con
- by Maslow
I have a domain interface
public interface ITicket
{
...
TicketWorkflowStatus StatusId{get;set;} // Enum
}
but the linq-to-sql persistance layer on the database wants to use int, can I change it in the dbml so that the local type is TicketWorkflowStatus? What are my options?