Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C#
entity framework core data seed
Artem Tihonov
Programming language:
C#
2021-05-01 22:00:48
1
Q:
entity framework core data seed
Nathan Arthur
Code:
C#
2021-03-13 13:18:22
modelBuilder.Entity<Blog>().HasData(new Blog {
BlogId
=
1
,
Url
=
"http://sample.com"
});
1
Tags
data
frame
Related
asp.net core update-database specify environment
update multiple records with entity framework
c# .net core entity framework
entity framework update child records
ef core dbfirst
entity framework core
Update data in db .net
New to Communities?
Join the community