Skip navigation
Currently Being Moderated

Unable to use multiple Identity Keys in a table with model driven development

Feb 29, 2012 4:12 PM

I have a table in my model and I want it to have 4 integer primary keys (defaulted to 0). When I create a new entry in this table using DataServiceTransaction.createItem(), only the PK1 goes correctly, the rest go as the default value 0. I tried to change the type of PKs to string but to no avail. What may be going on?

Please note the IDs are not auto generated

 

-RK

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points