Last post Aug 29, 2008 07:19 PM by marcind
Aug 29, 2008 02:39 PM|taurusrahul|LINK
I want to use Generics in mutiple classes. for eg from web i need to create instance of one class that takes Parameter T and inturn that function calls another function that again take Parameter T. I need to create an instance of T in the inner most class so
i am using the new constriant also
Inner Most Class
Middle Class that is called from web and calls the inner most class
clsList = objbinder.LoadData()
clsList = oDAL.getDataEntity(
The Code was working fine if i remove the DataAccessLayer from middle. But I need to call through the DataAccessLayer only. Please help me in solving this error.
ASP.NET Dynamic Data
dynamic Data binding
Aug 29, 2008 07:19 PM|marcind|LINK
While this is not a Dynamic Data question, you need to apply the same generic paramter constraints to your generic method getDataEntity as you did to the clsObjectBinder class.
Please post future language-specific questions to the relevant forum.