Dealing with type-casting limitations

Well this is the first post involving the .NET 4.0 framework, woo :D. Something I’ve had a problem with from within the abstract service lay which we use at TheFARM. It’s a limitation of the .NET framework and how you can do type casting wi…


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail

Well this is the first post involving the .NET 4.0 framework, woo :D. Something I’ve had a problem with from within the abstract service lay which we use at TheFARM. It’s a limitation of the .NET framework and how you can do type casting within the .NET framework. The way we use our service layer is to never return classes, we only return interfaces, so you can’t write a method which looks like this:


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail


Print Share Comment Cite Upload Translate Updates
APA

Posts on LINQ to Fail | Sciencx (2010-04-25T00:00:00+00:00) Dealing with type-casting limitations. Retrieved from https://www.scien.cx/2010/04/25/dealing-with-type-casting-limitations/

MLA
" » Dealing with type-casting limitations." Posts on LINQ to Fail | Sciencx - Sunday April 25, 2010, https://www.scien.cx/2010/04/25/dealing-with-type-casting-limitations/
HARVARD
Posts on LINQ to Fail | Sciencx Sunday April 25, 2010 » Dealing with type-casting limitations., viewed ,<https://www.scien.cx/2010/04/25/dealing-with-type-casting-limitations/>
VANCOUVER
Posts on LINQ to Fail | Sciencx - » Dealing with type-casting limitations. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2010/04/25/dealing-with-type-casting-limitations/
CHICAGO
" » Dealing with type-casting limitations." Posts on LINQ to Fail | Sciencx - Accessed . https://www.scien.cx/2010/04/25/dealing-with-type-casting-limitations/
IEEE
" » Dealing with type-casting limitations." Posts on LINQ to Fail | Sciencx [Online]. Available: https://www.scien.cx/2010/04/25/dealing-with-type-casting-limitations/. [Accessed: ]
rf:citation
» Dealing with type-casting limitations | Posts on LINQ to Fail | Sciencx | https://www.scien.cx/2010/04/25/dealing-with-type-casting-limitations/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.