Error creating Entity framework

Asked

Viewed 75 times

-1

inserir a descrição da imagem aqui

I’m having this problem trying to create the Entity Framework:

Unable to generate the model because of the following Exception: System.Argumentexception: The argument 'name' cannot be null, Empty or contain only white space. at System.Data.Entity.Utilities.Check.Notempty(String value, String parameter)

inserir a descrição da imagem aqui The error occurs when trying to perform this action, the problem is only in this table, when generating the database without it, everything happens normal.

  • Pedro, post the part that you are receiving this error, only with the description of the error it is difficult to understand what is actually happening.

  • Good Afternoon,then I discovered that this error is occurring because of a table in my database, I managed the database without this table and there was no error, but I still need this table to continue, I tried to do the manual mapping and I am not able to update

  • Your table has PK, is composed ? that’s what usually generates this error.

1 answer

0

Hello,

Without your table creation script and the error information by Exception, there is some field in your table with white space in the name.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.