LINQ

5th August
2008
written by Eric Polerecky

LINQ requires all tables that you work with to have a PK. If you don’t have a PK on a table you can use the designer to set a PK on the generated code. This won’t effect your database.

  • In Visual Studio open the LINQ Designer.
  • Select a row you would like as your PK and select properties.
  • Update the “Primary Key” Property.

  • You are currently browsing the archives for the LINQ category.