Posts by André Morais Martins • 367 points
11 posts
-
1
votes1
answer1742
viewsQ: How to open file with window.open in a post?
My controller returns two file types: pdf and excel. return File(stream, "application/pdf"); return File(new MemoryStream(ep.GetAsByteArray()),…
-
0
votes0
answers167
viewsQ: Firebird error with Entity Framework and C#
I’m trying to use Firebird with Entity Framework in C#, but when I create relationships and try to give Update-Database in Migration gives this error: Type is not resolved for member…
-
4
votes1
answer493
viewsQ: How to mount SELECT in lambda C#?
I recently asked for help to assemble a SELECT to bring the price of products How to mount SELECT They gave me this solution that worked perfectly: SELECT P.PROCODIGO, P.PRONOME, H.HISPRECO FROM…
-
6
votes3
answers280
viewsQ: How to mount SELECT?
I have a Products table with: ProCodigo - Primary Key de Produto ProNome And another Price History table with: HisCodigo - Primary Key de Histórico HisData HisPreco ProCodigo - Foreign Key de…
-
1
votes1
answer329
viewsQ: How to mount XML with C#?
I need to build an XML like in the following example: <?xml version="1.0" encoding="utf-8"?> <MeuXML> <Clientes> <Cliente-1>Dados Cliente-1</Cliente> </Clientes>…
-
1
votes2
answers899
viewsQ: How to use Firebird database on network with C#?
I developed a C# Windows Forms application with Firebird database and I need to place the application with the database on a machine that will be like a server. With this, I need to access this…
-
6
votes2
answers938
viewsQ: How to join lists in c#?
I have two classes: public class Produto { public int ProCodigo { get; set; } public string ProNome { get; set; } public int DepCodigo { get; set; } public virtual Departamento Departamento { get;…
-
1
votes2
answers75
viewsQ: Can I access a Web Api from Windows Phone?
I developed an Api that communicates with my database and put it on IIS. Testing in Windows Forms applications, the search of the api data works normally, but when I try to run it inside the Windows…
-
3
votes1
answer177
viewsQ: Can you use Firebird by accessing from your Windows Phone?
I developed a C# Windows Forms application with Visual Studio 2013 and Firebird database, but I would like to make a small application to facilitate access to the system. However in this application…
-
1
votes1
answer456
viewsQ: How to do Migrations and versioning with Firebird database?
I recently found this site Flyway DB where, from what I understand, it is possible to create Migrations and control the version of the database. However, I don’t think it supports Firebird. Is there…
-
1
votes1
answer640
viewsQ: How to use C# Windows Forms with Firebird and Object Orientation?
I recently learned a little object orientation and c#. But I am trying to create an application that is developed in c# windows Forms, with database Firebird and object-oriented. But what’s the…