Posts by Ronaldo Peixoto • 63 points
8 posts
-
1
votes2
answers44
viewsA: Return the Dbquery property name using Generics
The solution that met was: var result = DataContext.GetType().GetProperties() .Where(x => x.PropertyType.FullName == dbQuery.GetType().BaseType.FullName).FirstOrDefault().Name Thank you all.…
-
1
votes2
answers44
viewsQ: Return the Dbquery property name using Generics
How do I get the name of the property DbQuery using Generics? I have the property: public DbQuery<Pessoa> ConsultarPessoas { get; set; } And in my repository:…
-
1
votes0
answers60
viewsQ: Relate more than one column to lambda Expression
I have the query below that relates only the Processoid. I need to know how to relate processes and processes lists by Processoid and Grupoid. I have consulted in several groups and did not get an…
-
1
votes2
answers367
viewsA: How do I put a select inside the while?
Good morning, you could use this solution. I don’t know if php would be correct, but in the query can be this solution. <?php $servidor = '****'; $user = '****'; $senha = '****'; $banco =…
-
0
votes1
answer124
viewsA: Recover Parameter Filled in Actionresult
By making a modification in the view, I was able to recover the model via parameter. @model IEnumerable<CategoryViewModel> <!DOCTYPE html> <html> <head> <meta…
-
0
votes1
answer124
viewsQ: Recover Parameter Filled in Actionresult
I have a problem that I’ve tried many ways to solve and nothing. When loading the page the page is populated in a table a list, but when it is submitted the template is null, but if you consult the…
-
0
votes1
answer56
viewsQ: Does not capture events after cloning - jquery bootstrap
I am using the code below to clone the accordion. But while trying to expand the accordion that has been cloned the captured event triggers the parent accordion. I know the clone event is limited…
-
2
votes0
answers425
viewsQ: Criteria: Subquery with multiple columns
I have the problem and I can’t solve it. How to turn this query into Nhibernate Criteria. SELECT ordid, prodid, qty FROM item WHERE (prodid, qty) IN (SELECT prodid, qty FROM item WHERE ordid = 365)…