1
I have the following script:
when I execute it, I get the following answer:
but when run by Entity Framework, the return is totally different, on all lines, the answer is the same, is it a bug? or did something wrong?
follows the model:
public class PesquisaDashModel
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public int qtde_resp { get; set; }
public string pergunta { get; set; }
public string resposta { get; set; }
}
Good afternoon! <br/> What is the type of your response attribute?
– Ismael SIlva
is string, I will edit and put the template.
– alessandre martins
You are connected to the correct database?
– Pedro Paulo
I am, I only have that basis
– alessandre martins
Instead of pictures paste your code into the question as you did for the C section#.
– George Wurthmann
You can put a breakpoint before serializing the object, to check if the bug is in serialization?
– Ismael SIlva
Good morning @alessandremartins, managed to resolve?
– RXSD