Posts by Marcos Vinicius • 69 points
8 posts
-
0
votes3
answers510
viewsA: Take class property C#
I got a solution: var propertiess = entidade.GetProperties().Where( prop => prop.PropertyType.IsClass && prop.PropertyType != typeof(string));
-
1
votes3
answers510
viewsQ: Take class property C#
People need to take all property of a class that is of class type. Ex: public class Pessoa{ public virtual int? Id { get; set; } public virtual MinhaClasse1 prop1{ get; set; } public virtual…
-
1
votes2
answers449
viewsQ: How to create summation with "sum" with multiple queryover columns
People need to create a query with queryOver(Nhibernate) C#, to add more than one column. Example in pure sql: SELECT SUM(coluna1 + coluna2 + coluna3 + coluna4) FROM tabela First I did so: Tabela…
-
0
votes1
answer188
viewsQ: Field formatting Dateedit devExpress Windows Forms
I have a date formatting problem with the date component dateEdit of devExpress. I need the field date formatted as follows: 01/01/2016. And when typing the values, go to the next character without…
-
1
votes0
answers154
viewsQ: Query using Firebird "SUBSTR" with Inline, QueryOver, Criteria
Guys, I need to create a query using the "SUBSTR" function of Firebird with Line, queryOver or Criteria. I have option to create with HQL or SQL, but these would be my last options. Anyone have an…
-
1
votes1
answer61
viewsQ: System documentation in conversion
I am in the process of converting a system in Delphi to C# using the SCRUM methodology, until then there is no documentation of this system. So I would like to know what they indicate, I don’t need…
-
1
votes2
answers1778
viewsQ: Trigger event when changing value of a textbox C#
Guys, I’m starting in c# and I’m having a problem. I’m working with Windows form. I’m using the Textchange event in a textbox, and with each key pressed in the field it triggers the event. I need…
-
1
votes2
answers658
viewsQ: Mapping Composite key nhibernate with Firebird bank
Guys I’m having difficulty in mapping composite primary key using nhibernate Fluent. I have the following class: public class NotaItem { public NotaItem(){} public virtual int Id { get; set; }…