Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
362 views
in Technique[技术] by (71.8m points)

Error in execute migration o identity framework on c#

in coding a market system with C# e dotnet entity framework , but wen i'm execute de migration to migrate de entity of the system i'm recevi this erros :

ModelsVenda.cs(7,16): error CS0246: The type or namespace name 'DateTime' could not be found (are you missing a using directive or an assembly reference?) [D:Desenvolvimentoc#elaroye cadastroelaroye cadastro.csproj] ModelsSaida.cs(11,16): error CS0246: The type or namespace name 'DateTime' could not be found (are you missing a using directive or an assembly reference?) [D:Desenvolvimentoc#elaroye cadastroelaroye cadastro.csproj] DataApplicationDbContext.cs(14,22): error CS0246: The type or namespace name 'Categoria' could not be found (are you missing a using directive or an assembly reference?) [D:Desenvolvimentoc#elaroye cadastroelaroye cadastro.csproj] DataApplicationDbContext.cs(16,20): error CS0246: The type or namespace name 'Fornecedor' could not be found (are you missing a using directive or an assembly reference?) [D:Desenvolvimentoc#elaroye cadastroelaroye cadastro.csproj] DataApplicationDbContext.cs(18,34): error CS0246: The type or namespace name 'Produto' could not be found (are you missing a using directive or an assembly reference?) [D:Desenvolvimentoc#elaroye cadastroelaroye cadastro.csproj] DataApplicationDbContext.cs(20,38): error CS0246: The type or namespace name 'Promocao' could not be found (are you missing a using directive or an assembly reference?) [D:Desenvolvimentoc#elaroye cadastroelaroye cadastro.csproj] DataApplicationDbContext.cs(22,42): error CS0246: The type or namespace name 'Estoque' could not be found (are you missing a using directive or an assembly reference?) [D:Desenvolvimentoc#elaroye cadastroelaroye cadastro.csproj] DataApplicationDbContext.cs(24,46): error CS0246: The type or namespace name 'Saida' could not be found (are you missing a using directive or an assembly reference?) [D:Desenvolvimentoc#elaroye cadastroelaroye cadastro.csproj] DataApplicationDbContext.cs(26,50): error CS0246: The type or namespace name 'Venda' could not be found (are you missing a using directive or an assembly reference?) [D:Desenvolvimentoc#elaroye cadastroelaroye cadastro.csproj] 0 Warning(s) 9 Error(s)

On my shell , i`m tried all the sugestion but no can do resolve e persiste on my sql data base de entity help me

question from:https://stackoverflow.com/questions/65903104/error-in-execute-migration-o-identity-framework-on-c-sharp

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...