Devexpress Linq Support

Posts   
 
    
dioptre
User
Posts: 66
Joined: 29-Mar-2007
# Posted on: 24-Jun-2008 02:02:15   

Before anyone else might get led up the garden path......I wasted a few days on this! frowning

Devexpress Xtragrid using LinqServerModeSource is READ ONLY.......

You won't be able to do anything but browse your data....

Pity. And I've been told they have no intention to make it updateable in the future either....

bah humbug

Andrew

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 24-Jun-2008 09:41:07   

Well, how would you expect the grid to be able to save the data? Linq is a fetching technique. If you're fetching new types, these aren't saveble.

Frans Bouma | Lead developer LLBLGen Pro
dioptre
User
Posts: 66
Joined: 29-Mar-2007
# Posted on: 24-Jun-2008 09:55:34   

Same as usual (using the same methods available to the grid control ie OnUpdate etc) ...

(Edit)

They actively disable these edit functions when in linq mode

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 24-Jun-2008 10:19:37   

dioptre wrote:

Same as usual (using the same methods available to the grid control ie OnUpdate etc) ...

(Edit) They actively disable these edit functions when in linq mode

I think because it's undoable to save the data in many scenario's. So if you want to save entities etc. use our datasourcecontrols instead.

Frans Bouma | Lead developer LLBLGen Pro
dioptre
User
Posts: 66
Joined: 29-Mar-2007
# Posted on: 24-Jun-2008 10:41:58   

I'm using it in a win app!?

I'm trying to page the records (server mode) as there are hundreds of thousands of records.....

Would it be of use?

stefcl
User
Posts: 210
Joined: 23-Jun-2007
# Posted on: 28-Jun-2008 10:52:50   

I'm trying to page the records (server mode) as there are hundreds of thousands of records.....

And you would like the records to be fetched only when they are displayed because you can't afford to load them all in memory right? DevExpress server mode is based on an interface, it should be possible to implement this interface with llblgen code but although I haven't tried I'm sure it would be hard work to handle all possible sortings, groupings, filterings...

Can you afford to provide a few controls (comboboxes, textboxes) which would allow the user to be a bit more specific about the actually needed records ?

mhnyborg
User
Posts: 14
Joined: 26-Apr-2006
# Posted on: 17-Jul-2008 15:33:08   

dioptre wrote:

Before anyone else might get led up the garden path......I wasted a few days on this! frowning

Devexpress Xtragrid using LinqServerModeSource is READ ONLY.......

You won't be able to do anything but browse your data....

Pity. And I've been told they have no intention to make it updateable in the future either....

bah humbug

Andrew

Can you share some code with me. I am also trying to use LLBLGen with the Xtragrid. I am building a winform app and using LLBLGen in adapter mode. I am only going to use the server mode for browsing data.

dioptre
User
Posts: 66
Joined: 29-Mar-2007
# Posted on: 29-Jul-2008 06:45:30   

Youd prob want a project to look at rather than just some code, this helped me when I kicked off:

http://www.devexpress.com/Support/Center/p/Q104692.aspx

you may find some more in there....

NEWS: Turns out theyve fixed the grid (can write now) the sly buggers....

http://www.devexpress.com/Products/NET/DXperience/WhatsNew2008v2/index.xml?page=3

I'm going to test it soon...