I created a project using the SPA template in Visual Studio 2015, to learn and understand, but I found this example very complicated. Still do not understand where the service is mounted and loaded?
I'm in an ASP.NET MVC 5 application, setting up a DbContext class.
When EF generates the database, the tables for the application objects are getting the names in the plural. For example:
public System.Data.Entity.DbSet<Teste.Mode...
I need to mount a where clause with the field and the dynamic value, for example, in pure SQL would be:
WHERE :CAMPO = :VALOR
However, scouring the queries I could not find anything specific, I'm already doing queries in the database...
What regular expression do I use to get the comma character that is not within the "..." fields, eg:
line1, "line2", "hello,world", 215, X + Y
^ ^ ^ ^
I want to get only the referrals, I'm using the expres...
I'm doing a doing a crawler style method that takes a string list, makes a call to a website, inserts the return into another list, and returns.
My method is working, but it is very slow so I want to parallelize the calls.
I searched for...
Hello, I would like to know what is the correct way to do relationship between classes of 1..N and 1 ... 1. Example:
public class Pedido
{
public int PedidoID{get;set;}
.............
}
public class ItemPedido
{
public int ItemPedi...
I need to return a field that is of type bool :
public List<TB_USUARIO> ListarTodos()
{
var strQuery = "select * from tb_usuario";
using (contexto = new Contexto())
{
var retornoDataRead...
I have two different lists A List<ProdutoTag> and B = List<Tag> :
public class ProdutoTag
{
public Int64 ProdutoId { get; set; }
public Int32 TagId { get; set; }
public Double Peso { get; set; }
public...