Posts by filipecampos • 75 points
4 posts
-
0
votes2
answers703
viewsA: Problem with the pdfMake?
const PdfPrinter = require('pdfmake'); const fs = require('fs'); module.exports = class HelloPdf { async generatePdf(body, res) { var fonts = { Roboto: { normal:…
-
0
votes2
answers1539
viewsA: Publish Windows Form C#
There are several ways to do it. The simplest way is to map the connectionString tag into a class and index it from Windows Forms to create the connection string. You can make a mask using…
-
3
votes2
answers6439
viewsQ: Serializing and Deserializing Json objects with C#
Consider the JSON below { "atividade_principal": [ { "text": "Atividades de televisão aberta", "code": "60.21-7-00" } ], "data_situacao": "03/11/2005", "nome": "GLOBO COMUNICACAO E PARTICIPACOES…
-
4
votes1
answer212
viewsQ: How to name the foreign key in the Entity framework
public class Lancamento { // Colunas e métodos omitidos [Column("IdContaBancaria")] public virtual ContaBancaria ContaBancaria { get; set; } } public class ContaBancaria { [Key] // PK…
c#asked filipecampos 75