locked
Is it possible to return a subset of fields. RRS feed

  • Question

  •  

    Hello,

    Can someone please tell me if it is possible to return a subset of fields using ADO.NET data services.

     

    A table contains the following fields:

    UserID

    FirstName

    LastName

    Address

    Phone

    Email

    Profile

     

    I would like to fill a grid with all the fields except Profile, which is extremely large.

     

    I am very keen to find out if it is possible to return all the fields EXCEPT Profile.

     

    If it IS possible, could someone also tell me how, or point me in the right direction?

     

    Very many thanks,

    Pete

     

     

    Thursday, October 30, 2008 8:48 PM

Answers

  • Hi Pete,

     

    We can't return a subset of the fields now.  You can model Profile in a separate entity and link to it from your original entity.  Linked entities are delay load unless you $expand them.

     

    Hope this helps!

    -J

    Thursday, October 30, 2008 11:06 PM
    Answerer