I have a project that has my Model, i.e. my Entity Framework EDM, created using dotConnect for Oracle. This works great using other UI technologies.
Now, I want to see how I can hook up this Dynamic Data technology, but when I hook my DataContext of the Model, which is ProjectXEntities.
I threw this in the Global.asax.cs file:
Code: Select all
model.RegisterContext(typeof(ProjectXEntities), new ContextConfiguration() { ScaffoldAllTables = true });
And it points to line 46:The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid.
Code: Select all
Line 44: /// Initializes a new ProjectXEntities object using the connection string found in the ProjectXEntities section of the application configuration file.
Line 45: ///
Line 46: public ProjectXEntities() :
Line 47: base("name=ProjectXEntities", "ProjectXEntities")
Line 48: {
Do you have any tutorials regarding Dynamic Data by the way?
Thanks!