Questions tagged as 'entity-framework'

0
answers

Many Relationship to Many Entity Framework Code First Composite Primary Keys Repeated Column

In my application I have two entities with a many-to-many relationship, namely Activity and Skill : EF(CodeFirst)generatesthejointableforme,butitisconflictingifIcreatethemappingathandinOnModelCreatingbecauseIhavethesamecolumn(CLIENT_ID)in...
asked by 16.02.2017 / 11:58
0
answers

How to use PostgreSQL with Entity Framework? [closed]

I have a system that I'm developing in C # WPF using PostgreSQL as DBMS and wanted to use this same database for my ASP.NET MVC application. Is it possible to have the Entity Framework have access to the data that is in the PostgreSQL DBMS to...
asked by 17.02.2017 / 00:24
0
answers

Creating EF Designer from a database

When I click on NEXT it closes, when I use a sqlserver it works normally, but in this case I'm trying with mysql and I'm having this problem, Has anything like this ever happened to you?     
asked by 15.11.2016 / 19:14
1
answer

Conceptual doubts. Entity Framework, BLL and OOP

People, I ask for urgent help ... I have a system that is running "right". Made in C # (WinForm) and SQL Server (without EntityFramework). However, due to studies and the need to extend the system (adding new features and improving elsewhe...
asked by 07.11.2016 / 23:23
1
answer

Error between Entity Framework Contexts

I'm using two Entity Framework contexts, one for the Identity (which is in the cross cutting layer) and another to my application (in the Data layer), both point to the same database. Date Layer: public class IdentityIsolationContext : DbCo...
asked by 17.10.2016 / 00:28
1
answer

Jquery is returning undefined for one of the generic properties I created

Jquery is returning undefined to one of the generic properties I created, to use with Bootgrid. I am trying to load a modal according to the click event of one of the buttons on the grid, but the modal opens without content. JQuery recognizes th...
asked by 19.10.2016 / 22:18
1
answer

EntityFramework does not recognize Web transformation Config

In my solution C# , I use Web.config transformation to connect a specific data environment, but I'm having a problem with EntityFramework that can not recognize string de conexão transformed , only recognizes Web....
asked by 15.09.2016 / 16:32
0
answers

Select in the Entity Framework of a table resulting from a relationship N for N

I do not know if the question is very clear, so I'll try to illustrate the scenario better. I created an Activities table and a User table, in the Activities table I have a responsible for it and I can also have some users associated with it....
asked by 04.10.2016 / 15:25
1
answer

ConnectionString different for different builds

I have two connection string, one when I'm developing that uses my local bank and another for when I deploy the application in Azure. I want the application to know which one to use depending on the type of build I do. What is the simplest wa...
asked by 13.08.2015 / 22:58
1
answer

Linking Users to Companies and Bringing User-related Records Using ASP.NET Identity and Entity Framework

I have records in the database (for example, clients), and all records have a EmpresaID identifier. I'm using identity with entity framework to authenticate. In the user's registry I have an identifier "CompanyId". I would like to k...
asked by 17.08.2016 / 22:42