Page 1 of 1

Choose a Context Object empty

Posted: Sun 04 Mar 2012 19:38
by dooh
Hello,


I add a Context using the Wizard, and rebuild the project, but when use a DBLinqDataSource and if "Show only DataContext objects" its check the DropdownList is empy.

If uncheck this setting i see can the LinqConnect Model but the Advanced options are disabled.

What i have to do?

DevArt.Data.Linq Version: 3.1.25.0

Best Recars

Posted: Mon 05 Mar 2012 14:45
by MariiaI
Thank you for your report. This is a known issue.
The problem is that the standard Visual Studio wizard is used to configure DbLinqDataSource, and this wizard detects only LINQ to SQL data contexts. We plan to fix this issue, though cannot provide any timeframe. At the moment, you can select your DataContext type from the full list of types.

Posted: Mon 05 Mar 2012 22:45
by dooh
Ok, but why the advance options it disabled and i cannot generated the automatic staments (insert, update, delete, etc...) from designer. Its the same issue?

Thanks

Posted: Tue 06 Mar 2012 08:04
by MariiaI
The wizard allows using the 'Advanced' options for LINQ to SQL data contexts only.
However, you can configure them manually in the web page markup. You need to add the necessary property to the DataSource tag (e.g., EnableDelete, EnableInsert, EnableUpdate) and set it to True.
For example: