Posts by ts.analista • 417 points
13 posts
-
1
votes0
answers62
viewsQ: Ignore Icollection Automapper property does not work
I’m having trouble ignoring one property that’s like Icollection and another that’s like Generic Class. Type I am ignoring in Profile Map Address class, it works only when Map…
-
0
votes1
answer28
viewsA: Oauth2 Authorization Problem using Wamp in Laravel 5.1
Oops, all clear up here. I had a small problem with apache that didn’t read the Authorization parameter in the header, but it has already been solved by adding "Rewriterule -…
-
0
votes1
answer28
viewsQ: Oauth2 Authorization Problem using Wamp in Laravel 5.1
Good evening, I am studying API Restfull with Laravel 5.1 and came across a problem to request a request in Oauth. When running the built-in PHP server works normally…
-
1
votes1
answer149
viewsQ: Return Collection of Products according to Category
I am unable to bring the list of products that has at least 1 related category. //Classe public class EventoConfiguracaoViewModel { public EventoConfiguracaoViewModel() { Menus = new…
-
1
votes2
answers500
viewsA: How can I make a C# query in a SQL Server database
There are several ways to do this as not specified what development would be Web or Desktop, in case if it is a Web app could do so using the Entityframework in your context do so: public…
-
8
votes1
answer6294
viewsQ: Multiple INNER JOINS with DAPPER
I’m trying to accomplish multiple INNER JOIN in the Dapper with these classes: public class EventoConfiguracao { public EventoConfiguracao() { //CdEventoConfiguracao = Guid.NewGuid(); Menus = new…
-
0
votes1
answer1634
viewsQ: Overwrite Bootstrap classes with CSS file
I’m having a hard time overwriting some Bootstrap classes using a CSS file I created. I am using the Bundle to make these changes: public static void RegisterBundles(BundleCollection bundles, bool…
-
1
votes1
answer286
viewsQ: Retrieve the value of a dynamically generated field
Good morning. Staff would like to know how do I recover the value of the control that is generated dynamically in my form at runtime? Type below in the image I have a class that brings all the…
-
7
votes1
answer272
viewsQ: Fill in a collection type property
Good personal evening how to fill a collection property using this type of structure in a class: public class Order { public string orderNumber {get; set; } public DateTime orderDate {get; set; }…
-
2
votes1
answer341
viewsQ: How: Fill Object Collections from Multiple Sources
I would like a help in passing values to my property private IEnumerable<OrderDetail> orderDetail;. I would like to fill it in, but I have already looked for some examples and I have not found…
-
2
votes3
answers590
viewsA: Combobox in Databases
At the Load event: cboClientes.DataSource = null; cboClientes.ValueMember = "id"; cboClientes.DisplayMember = "Nome"; cboClientes.DataSource = _dt; if (cboClientes.DataSource != null) {…
-
0
votes1
answer271
viewsA: How to remove treatment from a Datetimepicker
In the Load event use this: dt.CustomFormat = " "; dt.Format = DateTimePickerFormat.Custom; private void dtData_Reserva_ValueChanged(object sender, EventArgs e) { dtData_Reserva.CustomFormat =…
c#answered ts.analista 417 -
7
votes1
answer481
viewsQ: Populate aggregate class from datatable using a Dataset with LINQ C#
I’m having trouble filling an aggregate class in C#. Is it possible using LINQ? Does anyone have any example of how to solve this problem using the return of a DataTable or DataSet? public class…