Obviously MVC promotes separation of concerns. One thing we are struggling with is proper separation of Model from the datasource, with IDs being the main sticking point.
The interfaces that define our model call for an ID of type X
Currently the datasource is SQL server.. but what if it is an xml file for some reason and our ID is of type Y?
Should the ID be an object? Should it be some sort of concrete implementation of an IDataIdentifier interface, which would handle equality??
Any thoughts!?