Posts by Silvio Fernando • 75 points
6 posts
-
2
votes1
answer60
viewsA: Help in SQL query for LINQ
I found the solution by doing the following, Count before group by. var Ofertas = from a in produtoMarcaService.GetAll() join b in FornecedorProdMarcaCotacaoService.GetAll() on a.IdProdutoMarca…
-
2
votes1
answer60
viewsQ: Help in SQL query for LINQ
I have a problem/difficulty, I have this following SQL query that I need to transform it into LINQ, but I am having problems in LINQ COUNT(). select m.id_marca, m.ds_marca,…
-
0
votes2
answers312
viewsA: Asterisk tree algorithm *
I managed to do it in a way that got better, your answer only worked with the value 3. in that code, I can put any value on the X that will work var x = 10; for (int i = 0; i <= x; i++) { for…
-
1
votes1
answer44
viewsQ: Problem in LINQ Query
In my job I need to return a list of a query LINQ. I have an expression that depending on some conditions she adds up Where to return this function. Follow the code: public HttpResponseMessage…
-
2
votes2
answers312
viewsQ: Asterisk tree algorithm *
I have a problem in an activity, the activity would be to make an asterisk tree of the type: * *** ***** but with my code for (int i = 0; i <= 5 ; i++) { for (int j = 0; j <= i; j++) {…
-
0
votes1
answer59
viewsQ: Problem comparing 2 lists
I have a problem, I need to make a filter with a list of strings that comes as parameter with a icollection, the visual studio accuses "Cannot Convert from List to Unidadefederativaforedor" What…