Questions tagged as 'entity-framework'

1
answer

At what point does the Entity Framework query an IQueryable?

I'm developing a method for an API that consists of the following: fetch all evaluations from a given client and, if specified, limit the amount of records that will be returned. For example: public IEnumerable<Avaliacao> GetAvaliacoe...
asked by 16.02.2016 / 21:50
3
answers

What is and what is the Target Framework server for?

I worked for some time with .NET and was asked about the target framework of my projects. I understand what it is for but I did not know how to explain it in a simple and clear way exactly what it is.     
asked by 08.08.2017 / 16:14
2
answers

Is DDD and Entity Framework mutually exclusive?

I was exchanging comments with two users here SOPT over DDD and Entity Framework . I have stated that DDD and Entity Framework are not mutually exclusive. Or are they? References: What it really i...
asked by 03.11.2016 / 17:35
2
answers

How does the Where logic in the Entity Framework work?

I'm studying C # and just did my first query in the Data Bank: using System; using System.Data.Entity.Core; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Test.Models {...
asked by 28.04.2016 / 19:42
2
answers

Inquiry Lambda

I have the following query in T-SQL : SELECT TOP (60) COUNT(*) AS QTD, SUM(Duration) AS Total, AVG(Duration) AS Media, MIN(Duration) AS Menor, LEFT (TextData, 80) AS TextData FROM Traces WITH (nolock) WHERE (StartTime &g...
asked by 20.03.2014 / 14:17
5
answers

How to solve accentuation problems with ASP.NET MVC?

I'm having problems with accentuation in ASP.NET MVC 5. I'm using Visual Studio 2013 Professional and the .Net 4.5 application. SQL Server 2008 and Entity Framework 6. The browser is Google Chrome upgraded and Windows is 8.1. Example: W...
asked by 03.03.2014 / 00:22
2
answers

Entity Framework Entity Framework update and delete

I have a student table that has many-to-many relationship with the course table. This results in the CursoAluno table. I would like to know the correct way for update and delete of the CursoAluno table. For exam...
asked by 06.05.2014 / 13:37
3
answers

When to use asynchronous or synchronous methods?

When should I use asynchronous or synchronous methods in controllers (Index, search, delete, create) ASP.NET MVC applications? Can I lose performance? In which situations should I use one or the other, could you give examples? If I have...
asked by 03.05.2017 / 03:33
2
answers

What's the difference between SaveChanges and SubmitChanges?

Within the context Entity Framework what is the difference between SaveChanges and SubmitChanges ? When should I use one or the other?     
asked by 07.10.2016 / 20:03
2
answers

Difference between .NET Framework for Entity Framework

I have an Asp.Net MVC project that when clicking properties the following information is displayed: WhenIopenedthefilepackages.configIcouldseethisotherinformation: After all, what exactly is the Target framework ? What is your function...
asked by 01.06.2016 / 20:45