Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dotnet run seeddata Execution failed #20

Open
hechunfeng123 opened this issue Jan 14, 2023 · 4 comments
Open

dotnet run seeddata Execution failed #20

hechunfeng123 opened this issue Jan 14, 2023 · 4 comments

Comments

@hechunfeng123
Copy link

Hello,

course address: https://www.youtube.com/watch?v=af_tK9LUiX0

Y(T}L H GO~MLI756BB3GTF
K9HA4YPNO(}GQM2MH3R${S4

**

I have no problem executing these two

**

0(8`KB${G40RM6TL G4TIO

Finally, I want to insert the data and execute dotnet run seeddata

but my database table has no content

A_YBYL8{Y 5J5F59WT P8HT

image

Why is this happening? Please give me an idea, please?
thanks!

@toczekmj
Copy link

Seems like you might have forget to modify Program.cs

image

@hechunfeng123
Copy link
Author

image
image
image

### I solved it by annotating the condition

image

@hechunfeng123
Copy link
Author

Seems like you might have forget to modify Program.cs

image

i have added

@GetyeMas
Copy link

can you show seed data sntax in develeopment powershall

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants