Questions tagged as 'entity-framework-6'

1
answer

Error editing ViewModel data

In design I have a ViewModel and inside it my models and everything. What happens is that I'm trying to edit data that is already saved in the database. I can bring the edited data of the view, but when I actually save it, this error is gener...
asked by 22.06.2016 / 05:29
0
answers

Connection between Entity Framework and Sybase 12

    
asked by 04.02.2016 / 13:36
0
answers

Records in ICollection navigation property are not being written

I'm trying to include items in a property of type list but I'm not able to include the records in the database. Firstly I have the following class models: public class Frota { public Frota() { Veiculos = new List<Veiculos&g...
asked by 11.12.2015 / 15:06
0
answers

Firebird bug with Entity Framework and C #

I'm trying to use Firebird with Entity Framework in C #, but when I create relationships and try to give Update-Database in Migration it gives this error:    Type is not resolved for member 'FirebirdSql.Data.FirebirdClient.FbException, Firebi...
asked by 01.03.2016 / 20:42
0
answers

Questions with Navigation Properties and FK with Code First

Why in this code was the IdGroup property and not the navigation property identified as the foreign key and what would be the correct way to apply the foreign key? public class Grupo { public Grupo() { Produtoes = new List<P...
asked by 10.09.2015 / 01:22
2
answers

How to correct this error, and I was able to see this other table in my view?

I need to make a select with two tables and throw the result to a PagedList . But when I do the query, it returns the error:    Can not implicitly convert type 'PagedList.IPagedList' to 'PagedList.IPagedList
asked by 09.06.2015 / 15:22
0
answers

Remove () from Entity Framework 6 only works when re-creating the connection

I'm creating an application using EF6 and I came across a problem. I'm using the repository concept, and when I run a delete (context.remove (obj)) and after that I reload the list and the datagrid, I realize that delete has not yet worked. So d...
asked by 27.02.2015 / 13:26
1
answer

Error Entity Framework WPF Client

I installed my application in the client environment, but I'm getting the following error: Nome do Evento de Problema: CLR20r3 Assinatura do Problema 01: eLogBook.exe Assinatura do Problema 02: 1.0.0.0 Assinatura do Problema 03:...
asked by 10.02.2018 / 01:17
1
answer

Publishing system with Entity Framework 6

There is an executable installer of Entity Framework 6 for servers. I published the system on a Windows server 2008 server, and it is not working. You are returning the following error:    Schema specified is not valid. Errors:   Co...
asked by 29.07.2016 / 21:25
2
answers

Only allow 5 attempts on the EntityFrameWork key duplication? to 6 on SaveChange ()

In key duplication when burning with EntityFrameWork in competition with many users, it only allows 5 attempts and in 6 SaveChange () tag (example 1). If it is with SqlConnection it does not give a problem (example 2). Example 1: Public...
asked by 17.02.2017 / 13:07