One table having 3 records with same id.
please tell me how to display that records in entity framework?
One table having 3 records with same id. please tell me how to display
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Each entity in entity framework must have unique identification. If you configured Id as entity key you will never display all of them without native ADO.NET. You must configure another property (or set of properties) as entity key. You should use primary key of the table for that.