Framework Oddity

Can someone explain to me why the choice was taken to have SqlDbType under System.Data instead of System.Data.SqlClient like OleDbType is under System.Data.OleDb, or vice versa? Anyone ever notice this oddity?

1 Comment

  • Well, it may be because you will be getting System.Data.SqlClient, System.Data.SqlTypes and System.Data.SqlServer... And *.SqlClient and *.SqlServer shares those datatypes.



    One could argue that a custom Microsoft.SqlServer.SqlCient etc would have been a more reasonable way to approach this ...



    Morty

Comments have been disabled for this content.