doubts with Entity Framework / SQL

1

I have the following script:

WhenIrunit,Igetthefollowingresponse:

ButwhenIruntheEntityFramework,thereturnistotallydifferent,onalllines,theansweristhesame,isitabug?OrdidIdosomethingwrong?

follows the template:

public class PesquisaDashModel
{
    [Key]
    [DatabaseGenerated(DatabaseGeneratedOption.None)]
    public int qtde_resp { get; set; }
    public string pergunta { get; set; }
    public string resposta { get; set; }
}
    
asked by anonymous 06.12.2018 / 19:04

0 answers