Questions tagged as 'c#'

1
answer

C # WinForms - ComboBox that autocompletes (filters) as you type

I have a ComboBox (cmbBairro) with the names of the neighborhoods of my city, which loads the values of a List (_ListBairros). When the user tries to search for a neighborhood by typing, I would like the ComboBox values to be filtered, regardles...
asked by 09.03.2015 / 02:20
3
answers

Several tables that should represent a single entity

I'm updating a system that has eleven tables that represent a single entity, I believe by implementation error, as shown below: Entidade: Foo Tabela Foo1 - Campo1, Campo2, Campo3 Tabela Foo2 - Campo1, Campo2, Campo3 Tabela Foo3 - Campo1, Camp...
asked by 13.02.2015 / 13:13
2
answers

Is it efficient to check file modifications for Hash?

Scenery I need to implement a file change check between 2 points of my application. * ¹ Point 1 - Server - I have a folder where are some product images; Point 2 - Mobile Device - I have a catalog application that downloads these imag...
asked by 11.06.2014 / 15:59
1
answer

How to support columns added by the user without updating the EF model?

I have a C# application with a Entity Framework 6 "Database First" model created from the base structure of a SQL Server database, which belongs to third-party software. Users of this software can add user fields to some tables by de...
asked by 15.04.2014 / 16:39
1
answer

Unable to connect to remote server - When consuming webservice C #

I have an application developed in C # which consumes a webservice also in C #. In some cases (it is not always and is not everywhere / clients) at the time of consuming webservice I get the following error:    Unable to connect to remo...
asked by 04.03.2015 / 13:29
1
answer

Many Update to Many Entity Framework C #

Good morning, I'm having trouble updating a record with entityframework, I'll tell you the whole structure below. In short, I have a register of artists, where these artists are related to address and categories. An artist can have an addr...
asked by 02.02.2016 / 15:02
2
answers

What to do when a model has N responsibilities

My system exists a class that is currently a common class for various situations, below some of the other models to exemplify public class Servico { public int Id {get;set;} public string Nome {get;set;} public decimal? Valor {get;set...
asked by 25.11.2015 / 04:55
2
answers

Table does not appear in EDMX models

I have a problem in an application that I'm developing, I created the templates using the ADO.NET Entity Data Model. But a specific table is not showing up below the script I'm using to create the table, it's created and it works but no templ...
asked by 15.11.2015 / 17:53
1
answer

Correct method to write to WEB API?

I did a test using a method this way, test using PostMan is worked, I wanted to know if this way I can have some problem. No Controller //http://localhost:1608/api/ApiGuiaCidade/cadastrar/cliente/jose/02-02-2015/[email protected]/124546 [Ht...
asked by 07.12.2015 / 01:10
1
answer

EdgeJS and Entity Framework

Next, I'm learning NodeJS and I'm thrilled with it, but I found my first stone in the path, accessing a relational database using some ORM (precisely to access PostgreSQL). At first I thought about using SequelizeJS , I even found it well do...
asked by 03.08.2015 / 13:31