I'm trying to connect to an Entity Model using an EntityDataSource but I'm struggling to work out how to do this.
I get to the "Choose Your Data Connection" bit and I "Specify a new connection string" ...
metadata=res://*/MyDB.Model.csdl|res://*/MyDB.Model.ssdl|res://*/MyDB.Model.msl;provider=System.Data.SqlClient;provider connection string="Data Source=MyServer;Initial Catalog=MyDB;Persist Security Info=True;User ID=MyUser;Password=MyPassword;MultipleActiveResultSets=True"
Then I select "Yes, save this connection string with the following name" ...
But then the "Choose an Object Context" dialog is blank.
How does the Report Designer know where to get this? There is no mention of referencing the assembly (MyDB.Model.dll) containing the csdl, ssdl and msl files?
Please don't refer me to any of these ...
http://www.telerik.com/help/reporting/entitydatasource-wizard.html
http://www.telerik.com/help/reporting/entitydatasource-retrieving-data-from-an-entity-data-model.html
http://www.telerik.com/help/reporting/entitydatasource-connecting-to-entity-data-model.html
I get to the "Choose Your Data Connection" bit and I "Specify a new connection string" ...
metadata=res://*/MyDB.Model.csdl|res://*/MyDB.Model.ssdl|res://*/MyDB.Model.msl;provider=System.Data.SqlClient;provider connection string="Data Source=MyServer;Initial Catalog=MyDB;Persist Security Info=True;User ID=MyUser;Password=MyPassword;MultipleActiveResultSets=True"
Then I select "Yes, save this connection string with the following name" ...
But then the "Choose an Object Context" dialog is blank.
How does the Report Designer know where to get this? There is no mention of referencing the assembly (MyDB.Model.dll) containing the csdl, ssdl and msl files?
Please don't refer me to any of these ...
http://www.telerik.com/help/reporting/entitydatasource-wizard.html
http://www.telerik.com/help/reporting/entitydatasource-retrieving-data-from-an-entity-data-model.html
http://www.telerik.com/help/reporting/entitydatasource-connecting-to-entity-data-model.html