LinqToSQL2 icon indicating copy to clipboard operation
LinqToSQL2 copied to clipboard

Expose the metadata in a nice API

Open MikaelEliasson opened this issue 10 years ago • 1 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 } ,

MikaelEliasson avatar Jan 09 '15 15:01 MikaelEliasson

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).

FransBouma avatar Jan 09 '15 17:01 FransBouma