Additional fields for SharePoint lookup field and LINQ

Need to add additional fields for SharePoint lookup field so that use those additonal fields in Linq queries.

Sometimes the result from Linq queries for those additional fields are wrong, just need to remove them and add them again in List Settings.

For Example, In List “Staff” there is a lookup field “Customer” which Looking up information from list “Customers”, and also get additional fields “Address”, “Suburb”, “State” from list “Customers”.

If you get incorrect information when you get Customers.Address or Customers.Suburb using Linq. You will need to go to List Settings in list “Staff”, remove the additional fields, and add them again.

Advertisements
This entry was posted in SharePoint 2010. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s