Coder Social home page Coder Social logo

Comments (4)

jtheisen avatar jtheisen commented on August 22, 2024

I wrote up why this is in the ticket I filed on devexpress.com - I think that will be helpful.

from devextreme.aspnet.data.

AlekseyMartynov avatar AlekseyMartynov commented on August 22, 2024

Thanks @jtheisen for reporting this.
The worst thing is that there's no universal way to automatically deternime primary key properties, because the concept of primary keys doesn't belong to pure LINQ.

I think we need to add DataSourceLoadOptions.PrimaryKey property of type String[] and also try to populate keys automatically from data annotation attributes if they are available.

As it turns out, the DefaultSort prop doesn't work and probably needs to be deprecated.

We are working on a fix.

from devextreme.aspnet.data.

AlekseyMartynov avatar AlekseyMartynov commented on August 22, 2024

PR is ready: #83

from devextreme.aspnet.data.

liuyuanjie avatar liuyuanjie commented on August 22, 2024

Per your description, I think you need to read the article which is talking about Using OFFSET and FETCH to limit the rows returned for better understanding. Please see:
Using OFFSET and FETCH to limit the rows returned

from devextreme.aspnet.data.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.