Questions tagged [seeding]

525 questions
-1
votes
1 answer

Concerns with Seeding Data in .NET Core 3.1

please I have a question regarding this link on Microsoft site where example of how to seed data is given: https://learn.microsoft.com/en-us/aspnet/core/data/ef-mvc/intro?view=aspnetcore-3.1 While seeding the data, Members are not assigned any ID…
Muyiwa
  • 11
  • 5
-1
votes
2 answers

Complex Seed generator for NodeJS

Does anyone know a seed generator that can generate seeds for related entities? Let's look at a blog for example. I would like to create seeds in the following order Authors Articles (based on Author seeds created earlier) I can obviously write…
faboulaws
  • 1,909
  • 16
  • 16
-1
votes
1 answer

Value cannot be null. Parameter name: stream in data seeding using csv file

I am creating a Database seeding using CSV file in asp.net core and sql server.This is a multi driven data structure. for some entity following code update the data correctly .when i create a new csv file and try with a new entity it give me the…
ABCD
  • 379
  • 1
  • 8
  • 25
-1
votes
1 answer

Tournament Tree seeding with n Teams, m Groups, k Proceeder and Lucky loser

Imagine a tournament with 6 groups and 4 Teams per group. 2 Teams of each group (called "proceeder" from now on) proceed to the elimination phase (tournament tree / bracket stage...). Now that there are 6 groups with 2 proceeder each, the total…
Seba M
  • 99
  • 1
  • 8
-1
votes
2 answers

EF Core 2.1 with Seed method and NotMapped attribute

I have a question, why my Strategy property is null, when i getting all DbSet from context? How to [NotMapped] property make visible in my backend? My class looks like this: public class Machine { [Key] public int Id { get; set; } …
michasaucer
  • 4,562
  • 9
  • 40
  • 91
-1
votes
3 answers

Excel VBA Seed based on the date

I'm working on a programm where I use a seed. This seed should be based on the date, so every single day i get a new value. Using the seed several times a day should not change the value getting back. This is what my seed looks…
J.schmidt
  • 721
  • 5
  • 27
-1
votes
1 answer

Seeding mongoDB data in node.js by referencing ObjectId

i'm using mongoose-data-seed to seed data into mongodb, however it has no mechanism to allow passing of ObjectId() as references to other seed files
Zhong Huiwen
  • 889
  • 13
  • 10
-1
votes
1 answer

Random seeding in Game of Life cannot working well

I'm developing game of life for my assignment. I try to use random number for seeding but the next generation is not working. How can I use the random seeding to check the next generation. When I use the manual seeding the code working fine. But…
-1
votes
1 answer

seed user and user role issue

I am trying to seed my database with an initial user and user role and am having issues in doing so. After reviewing similar posts on SO, I've ended up with the following in my seed method: if (!context.Users.Any(u => u.UserName == "founder")) …
GregH
  • 5,125
  • 8
  • 55
  • 109
-1
votes
1 answer

Having trouble with HP SCC installation

I am trying to install HP SSC but during installation when I reach the "seed process template" I get the error shown in the screenshot. I need help on this. Thanks
Umar Hyatt
  • 31
  • 7
-1
votes
1 answer

Sequence Contains No Matching Elements Entity Seed Error

Previously I had an Entity Database working. I deleted it, out of haste, so I went to run my program again (thinking it should recreate and repopulate the DB like it did before). However, this time I got a weird…
Hani Honey
  • 2,101
  • 11
  • 48
  • 76
-2
votes
2 answers

EF Core seeding data in Sqlite and WPF with relational model - unable to create an object of type DbContext error

I'm creating a WPF app in .NET 6 with Entity Framework Core and Sqlite. I have the following relational model (note some nullable fields are omitted for the sake of brevity): [Table("Contacts")] public class Contact { public Guid Id { get; set;…
Al2110
  • 566
  • 9
  • 25
-2
votes
1 answer

Most Seeded Torrent

What is currently the most seeded torrent in the world? Is it even possible to accurately determine the most connected torrent ? I suppose if you had access to every ISP's network and could filter out the protocol bittorrent uses. Maybe that's a…
J. Tully
  • 129
  • 1
  • 9
-2
votes
1 answer

Rails thinks my mundane seed data are filepaths, throws "Errno::ENOENT: No such file or directory"

I'm getting this strange error where it throws "Errno::ENOENT: No such file or directory" even though no filepaths are involved. For example, if my seed data says: users = Seller.create([{ username: `Firstuser` }, { username: `Seconduser`, …
morse
  • 11
  • 1
-2
votes
2 answers

MongoDB seed script for 10million entries takes 30 minutes

I have a project im working on and I have to seed a database with 10 million random rows, which i have successfully done. However it takes about 30 minutes for it to complete, which is expected, but i know it could be faster. I would like to make it…
1 2 3
34
35