Questions tagged as 'c#'

1
answer

Relationship 1 - N Entity Framework

I'm developing a test project and I'm having a problem with 1-N relationship with Entity. Model Cab_Venda: public Cab_Venda() { Det_Venda = new HashSet < Det_Venda > (); } public int id { get; set; } public int id...
asked by 10.12.2017 / 20:33
1
answer

C # Form2 calling Form1

Good evening I'm developing a product registration application, however I need to call form2 first than form1. Could you help me with how to do this?     
asked by 10.12.2017 / 23:20
1
answer

Problems doing Build with PostSharp in AppVeyor

I'm having trouble making build of my project in AppVeyor , (locally works) because the license stays in regedit . I noticed that you need to create a postsharp.config file and inserir of license information, but it s...
asked by 10.12.2017 / 13:10
1
answer

When you arrive at 12:00 every day write on the console [closed]

How do I make it when the time on my computer reaches 12:00 it will write on the "Hello World" console every day?     
asked by 11.11.2017 / 15:24
1
answer

Open Access Report with Criteria

I'm a beginner in C # and am opening an Access report, but this report has criteria, ie, depends on numbering to open. This numbering I have in a textbox and my question is how to pass the textbox value directly to the Access report...
asked by 11.11.2017 / 23:22
0
answers

ActionResult search result does not return all results for View PagedList

I noticed that in my application before View the Paged List it received all returned items from the ActionResult from the implementation of the Paged List I do not get all the results of my controller . In summary ActionResult gets a...
asked by 12.11.2017 / 18:32
0
answers

Problem uploading Api web in Asp.net core using entity framework with postgresql

Hello! So I've mapped my classes to the bank, mirrored successfully, and started to build the features of my webservice. With this, I came across the following error:   InvalidOperationException: Unable to resolve service for type 'CadFuncionari...
asked by 13.11.2017 / 01:35
0
answers

How to change the prefix and name of an attribute in an XML tag in an NFS-e?

Hello, I am a beginner in NFS-e development and I am not able to change the prefix and attribute name below, I put it in the code so that it was xsi, however regardless of what I put it, it generates xml with d1p1. How to replace this d1p1 with x...
asked by 12.12.2017 / 13:48
1
answer

C # Project closing Visual Studio

I recently did a Console Application project that saves PDF files with Report Viewer and worked normally. I needed to change the SQL Server procedure that generates these files and I changed the directory to save these files, so far, nothing,...
asked by 12.12.2017 / 19:33
1
answer

At what point does the Entity Framework query an IQueryable?

I'm developing a method for an API that consists of the following: fetch all evaluations from a given client and, if specified, limit the amount of records that will be returned. For example: public IEnumerable<Avaliacao> GetAvaliacoe...
asked by 16.02.2016 / 21:50