TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Shibly Sadik
NA
167
139.1k
Insert duplicate key in entity framework
Jul 2 2015 5:41 AM
I have a model class with primary key ID.
public class Order
{
public int ID { get;set }
public string Product_Name { get;set }
public string Product_Brand { get;set }
}
I want to add the product items in a database where one product can be added more than one time..
Now how can i insert same product ignoring "duplicate key insertion problem"?? Is there any way to do this??
Help please...
Reply
Answers (
2
)
how to use repeater without using data base in asp.net?
position: fixed; partially renders div when in update panel