Posts by Edvaldo Silva • 541 points
21 posts
-
1
votes2
answers2703
viewsQ: Inside Visual Studio 2015 how to reverse/undo a commit in Git?
I have a commit made by a developer in the remote Git repository hosted on VSTS that needs to be reversed. From Visual Studio, without going to prompt commands like reverting commit?
-
0
votes3
answers170
viewsA: Columns do not hit insertion
The problem "Column Count doesn’t match value Count at Row 1" In Portuguese: "The column count does not correspond to the value count in row 1" Solution INSERT INTO livros (codliv, nome, autor)…
-
5
votes1
answer246
viewsQ: Compatibility between . NET Core 2.0 and . NET Framework 4.7
I am creating general purpose libraries (Dlls), to reuse them in projects . Net Core 2.0 and . Net Framework 4.7. I wish to have projects. Net Core on Linux and projects . Net Framework 4.7 for…
-
2
votes1
answer41
viewsA: Representation of an entity in my class
Specify the name in the bank, use annotation, see: [Table("Tabela")] public class Tabela [Key] [DataBaseGenerated(DataBaseGeneratedOption.Identity)] [Column("ID_LIBERACAO")] public int IdLiberacao…
c#answered Edvaldo Silva 541 -
2
votes2
answers313
viewsQ: .NET Core auto executable
After creating my first console application with . NET Core on Windows 10 with Visual Studio 2017 copied to my server Linux - Ubuntu 16.04.3 LTS (already with . NET Core installed). I successfully…
-
0
votes1
answer721
viewsQ: MYSQL: ERROR 2027 (HY000): Malformed Packet
I am unable to connect a Mysql server remotely. The connection seems to be ok because with telnet [ip] [port] I get answer: 4.1.3b-beta-nt-max▒@\0v'[uZ,B{efSLa$,Q4N When run by command line or Mysql…
-
4
votes2
answers166
viewsQ: Tablespace and data files on Oracle
A tablespace is a data file that stores multiple tables, such as a zip file? What is the relationship between tablaspace and data file?
-
0
votes2
answers78
viewsA: Date problem in Postgresql
See if this resolves SELECT id_empresa, id_loja, sum(faturamento), sum(ticket_medio), sum(qtd_pecas), sum(qtd_atendimentos), avg(faturamento) as fat_terca, avg(ticket_medio) as ticket_terca,…
-
1
votes2
answers128
viewsQ: Visual Studio Installer Projects with Postgresql
I am starting a Windows Form C#project, a commercial application that the user downloads, installs and uses, without complications. It is possible to configure Visual Studio Installer Projects to…
-
8
votes4
answers8801
viewsA: What is it and what is a "truth table" for?
Definition A truth table is a tabular representation of all combinations of values for inputs and their corresponding outputs. It is a mathematical table that shows all possible results that will…
-
1
votes3
answers789
viewsA: Problem sorting sql with orderby Date in postgresql
This will work: select sum(total) as total, datavencimento from ( select sum (con_valoraserpago) as total, to_char(con_datavencimento,'mm/yyyy') as datavencimento, **date_trunc('month',…
-
2
votes2
answers574
viewsA: Faster way to save multiple entities with Entityframework
Sqlbulkcopy - very fast! I recommend using, see here an example: Sql Bulk Insert for Entity Framework 6 Resource reference: Sqlbulkcopy Class To improve overall performance Lazy Load…
-
0
votes2
answers396
viewsA: Doubt about struct and list in c
Simplified Version - Tested Create a file called main. c #include <stdio.h> #define EXIT_SUCCESS 0 int main(int argc, char** argv) { typedef struct{ char* nome; int idade; }PESSOA; int…
-
1
votes1
answer922
viewsA: AJAX request in Bootstrap
Use this: $( "#new-projects" ).html('<object data="https://answall.com"/>'); body { font-size: 12px; font-family: Arial; } <!doctype html> <html lang="en"> <head> <meta…
-
3
votes2
answers665
viewsA: Setting up Github
Install Git for Windows https://git-scm.com/downloads Moving up your project for the first time: Enter the root folder of your project by command prompt Create the local repository:…
-
0
votes2
answers52
viewsA: Doubt regarding the https protocol
You can put a free certificate, know: Let’s Encrypt is a free, Automated, and open Certificate Authority Install Install Let’s Encrypt to Create SSL Certificates Setting up for Apache SSL…
-
1
votes1
answer121
viewsQ: How do I change the account owner to Visual Studio Team Services?
I started a project in Visual Studio Team services with an account associated with my personal email, now I want to change the email owner of this account to my client’s email, what I do?
visual-studio-onlineasked Edvaldo Silva 541 -
2
votes1
answer121
viewsA: How do I change the account owner to Visual Studio Team Services?
Access your project https://{your account}.visualstudio.com/_Projects click on the gear icon go to Settings click Change (Current Owner)…
visual-studio-onlineanswered Edvaldo Silva 541 -
0
votes2
answers552
viewsA: What are the requirements for running a C# program on a client’s machine?
Like you said you installed the Microsoft Report Viewer Redistributable 2008 then you just need to copy to the Bin from your application the following DLL: • Microsoft.ReportViewer.Common.dll •…
c#answered Edvaldo Silva 541 -
1
votes2
answers907
viewsA: Unexpected type when serializing web API
I solved this error by adding in Global.asax.Cs file, Application_start method //configura retorno json GlobalConfiguration.Configuration.Formatters.JsonFormatter.SerializerSettings…
-
2
votes2
answers252
viewsA: Using "String.Replace()" the string remains the same
SIMPLE SOLUTION Use the @ tt = tt.Replace(@"\u00e7", "c");