Choose a Context Object empty

Discussion of open issues, suggestions and bugs regarding LinqConnect – Devart's LINQ to SQL compatible ORM
Post Reply
dooh
Posts: 30
Joined: Sun 14 Jan 2007 21:11

Choose a Context Object empty

Post by dooh » Sun 04 Mar 2012 19:38

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

MariiaI
Devart Team
Posts: 1472
Joined: Mon 13 Feb 2012 08:17

Post by MariiaI » Mon 05 Mar 2012 14:45

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.

dooh
Posts: 30
Joined: Sun 14 Jan 2007 21:11

Post by dooh » Mon 05 Mar 2012 22:45

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

MariiaI
Devart Team
Posts: 1472
Joined: Mon 13 Feb 2012 08:17

Post by MariiaI » Tue 06 Mar 2012 08:04

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:

Post Reply