In the example below, how do I not serialize an attribute.
I think I'm looking for the equivalent of the java syntax:
For classes: @JsonIgnoreProperties (ignoreUnknown = true);
For attributes: @JsonIgnore for attribute.
public class Some...
I'm trying to translate the query below into LINQ, but without success, can anyone help me?
SELECT * FROM PESSOAL A
WHERE NOT EXISTS (
SELECT Chapa FROM PRODUCAO B
WHERE B.Chapa = A.Chapa AND B.Data='2014-09-02')
AND A.Codsubord='CB...
This has already happened. When I use an associative table in Entity, these tables generally do not have PK. When this occurs, I can not map them. How can I map this type of table?
I have a lambda search, which refers to information in a grid, but with each different query it changes the place information:
Indicadores = (Pegatodos().Where(f => f.STATUS == "A")
.Select(x => new
{ S...
This is the error:
Linha 1:
<%@ Application Codebehind="Global.asax.cs" Inherits="Util.MvcApplication" Language="C#" %>
I had created another project called Util and started to give this problem. What I did, I removed the project...
I need to include ZERO to complete the CPF digits in the csv file, but if the CPF starts with ZERO it is taken and the numbers are only, that is, it has cpf that only saves 9 digits, since the first two do not enter account ...
public string C...
I'm using the spinedit of devexpress, with MVC, it's a decimal field, but I need the punctuation of the number to be a period and not a comma, I need to put his culture as "en-US", how to do it? / p>
Project in: WebForm, C #, ASP.net
I need to disable the button after it has been clicked. Today it looks like this:
<asp:Button ID="btn_Enviar" runat="server" CssClass="btn btn-primary" Text="Enviar" OnClick="btn_Salvar_Click" data-loadi...
I have 2 projects (WebForms and Windows Services) in .NetFramework 4 that connects to the Oracle database through ObdcConnection.
In the web project I can successfully open the connection ...
However in Windows Services the following error...
I think I have a better way of doing this, because when I did it made sense now I do not understand anything else, because it makes me very confused:
I have a field in the table that stores the following content:
Descrição:
O curso visa ca...