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?