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
Guest User
Tech Writer
98
42.4k
Save Range of models
Jan 23 2021 7:04 AM
How can I save a list of products in entityframework?
this code doesnt work for me..
public async Task<Guid> CreateRangeAsync(List<ProductModel> models)
{
await _context.Products.AddRangeAsync( models);
await _context.SaveChangesAsync();
}
Reply
Answers (
3
)
How to load XML data to a data structure?
Automaticly data Update mysql server