I’ve written a lot about the debate on whether O/R Mappers should use attributes or an xml mapping file. I’ve more or less conceded that XML mappings are more flexible and the better solution. But wait!
Today as I was listening in on the PDC Keynotes I saw Anders demo “LINQ” which looks to use attributes pretty extensively! Perhaps I wasn’t so nuts after all when I posted “If Attributes are good enough for Indigo why aren’t they good enough for O/R Mappers?” I’ll be interested to see if “LINQ” also has Xml mapping capabilities. I’d be surprised if it didn’t line up with the Indigo model of allowing things to be defined declaritivly as well as programatticly.
Also worth mentioning is my Entity Framework category which has a bunch of different thoughts on O/R Mappers and things such as whether xml mappings or attributes are the way to go.