I have a strange error i can not really figure out what's going on, i did everything as should be except one thing (maybe because i'm using adapter scenario ???)
on the line 36 i had to replace the code with this one (simply use another overload)
var modelProvider = new SD.LLBLGen.Pro.DynamicDataSupportClasses.LLBLGenProDataModelProvider(
typeof(Xiparo.Assessment.DAL.DatabaseSpecific.DataAccessAdapter),
typeof(Xiparo.Assessment.DAL.EntityType),
new Xiparo.Assessment.DAL.Linq.LinqMetaData(),
new Xiparo.Assessment.DAL.FactoryClasses.ElementCreator());
**But always got this error : **
Server Error in '/' Application.
Internal error: name '' not found in entity 'TextLabelsEntity'
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: SD.LLBLGen.Pro.ORMSupportClasses.ORMGeneralOperationException: Internal error: name '' not found in entity 'TextLabelsEntity'
Source Error:
Line 42:
Line 43: // register the modelprovider with the model so DynamicData knows how the model looks like
Line 44: model.RegisterContext(modelProvider, config);
Line 45:
Line 46: // register the datamodelprovider in the application object so it's retrievable in the datasources.
Source File: C:\brol\LLBLGen\WebApplication1\Global.asax.cs Line: 44
Stack Trace:
[ORMGeneralOperationException: Internal error: name '' not found in entity 'TextLabelsEntity']
SD.LLBLGen.Pro.DynamicDataSupportClasses.LLBLGenProEntityRelationProvider.BuildMetaData() +1274
SD.LLBLGen.Pro.DynamicDataSupportClasses.LLBLGenProEntityFieldProvider.get_Association() +49
System.Web.DynamicData.MetaColumn.Create(MetaTable table, ColumnProvider columnProvider) +38
System.Web.DynamicData.MetaTable..ctor(MetaModel metaModel, TableProvider tableProvider, Boolean scaffoldAllTables, String nameOverride) +330
System.Web.DynamicData.MetaModel.RegisterContext(DataModelProvider dataModelProvider, ContextConfiguration configuration) +1511
WebApplication1.Global.RegisterRoutes(RouteCollection routes) in C:\brol\LLBLGen\WebApplication1\Global.asax.cs:44
WebApplication1.Global.Application_Start(Object sender, EventArgs e) in C:\brol\LLBLGen\WebApplication1\Global.asax.cs:76
I have the latest bluegen stuff libraries ....
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053