System.Data.IDataParameterCollection.Item
-
This continues to irk me no end. Due to the lack of generics in .net V1,
IDataParameterCollection.Item
is of typeobject
rather thanIDataParameter
, so I have to keep casting. :mad:You'll never get very far if all you do is follow instructions.
-
This continues to irk me no end. Due to the lack of generics in .net V1,
IDataParameterCollection.Item
is of typeobject
rather thanIDataParameter
, so I have to keep casting. :mad:You'll never get very far if all you do is follow instructions.
-
Many still create their own collections the same way. I have no clue why.
My CP workspace: Incredibly trivial and probably useless code samples[^]
I know... I had to add a "Don't use the obsolete collection pattern" chapter to the coding style guide for my team... :doh:
-
This continues to irk me no end. Due to the lack of generics in .net V1,
IDataParameterCollection.Item
is of typeobject
rather thanIDataParameter
, so I have to keep casting. :mad:You'll never get very far if all you do is follow instructions.
PIEBALDconsult wrote:
This continues to irk me no end.
Due to the lack of generics in .net V1It did for me too. That is until 2005 when .Net 2.0 came out. Just saying. :-\
There are only 10 types of people in the world, those who understand binary and those who don't.
-
PIEBALDconsult wrote:
This continues to irk me no end.
Due to the lack of generics in .net V1It did for me too. That is until 2005 when .Net 2.0 came out. Just saying. :-\
There are only 10 types of people in the world, those who understand binary and those who don't.
Yes, but they didn't add a generic alternative to the collection so I still have to cast even today.
You'll never get very far if all you do is follow instructions.