FransBouma / LinqToSQL2

Official Linq to SQL fork. A complete ORM which is backwards compatible with Linq to SQL but with new features.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expose the metadata in a nice API

MikaelEliasson opened this issue · comments

Not sure how L2S worked here to start with. I just know how horrible that was in earlier versions of EF. It's much easier if I as an extension author can just get something like the following for each column.

{ Code : { PropertyInfo, (Maybe info about navigation prop) } Sql : { ColumnName, SettingsLikeNullableEtcEtc } ,

Meta-data is exposed by Linq to Sql. It is in a specific format, of course there are a lot of things which could have been nicer. I have to check whether it's exposed as a public method and if everything is available (a lot is internal).