Posts by Marco Aurelio • 368 points
14 posts
-
0
votes5
answers29127
viewsA: use if in sql server
So personal... from the version 2012 SQL Server, it is now possible to use "in line if" IIF(expression, value_se_true, value_se_false) Obviously the solutions already presented would give better…
-
1
votes4
answers1741
viewsA: How to identify and when to use Value Object?
So young, it’s not so complicated or mystical... To help, the guy at Devmedia quotes Wikipedia... and still says nothing with nothing.. OK... Think simply of the IMMUTABILITY of the object. The…
-
3
votes1
answer306
viewsA: Does programming in English conflict with the construction of a ubiquitous language?
The answer, as you can imagine, is to make anger. But it is the reality. It depends... About a year and a half ago I had to develop a simple system, but it was for a multinational company. There was…
-
3
votes1
answer572
viewsA: DDD - What is a complex domain?
Yoda type response (because it will probably not exhaust the subject...) A complex domain is basically a set of knowledge with which the system will have to deal, granulate and make available,…
-
1
votes3
answers3217
viewsA: How to read an excel file in c# and save the data in strings?
I already use Excellib(https://code.google.com/p/excellibrary/); I just looked it up and saw it listed as archived project... The advantage is to manipulate (creating, opening, saving, etc.) without…
-
5
votes1
answer850
viewsA: DDD - What is the best option (Layer) to consume an external Webservice?
It would be interesting to consume this Webservice in the Infrastructure layer and treat it as an external repository I would use this way, in which you already give the answer in the question(data…
-
-1
votes2
answers208
viewsA: Email check before sending
The @Otto response is show; it’s good to check if the account exists. I find the verification with regular expression incomplete/insufficient, although widely used. One of the validations I use is:…
wordpressanswered Marco Aurelio 368 -
2
votes4
answers6198
viewsA: Javac does not compile. java
You set up the compiler path? possible solution This IDE you are using may not compile directly, recognizing the compiler path; you have checked this detail? Tried to compile by direct prompt?…
javaanswered Marco Aurelio 368 -
2
votes1
answer728
viewsA: Generate PDF with specific source
Solution: // Se a fonte não está registrada if (!FontFactory.IsRegistered("Garamond")) { // Registro a fonte FontFactory.RegisterFamily("Garamond", "Garamond", @"C:\Windows\Fonts"); // Registro o…
-
2
votes1
answer728
viewsQ: Generate PDF with specific source
I have a report that already works. I need to change the source to "Garamond" (already installed). The references found speak about other more flexible properties, with for example changing the…
-
0
votes2
answers340
viewsA: Error in converting dates during an Index
Check the format this string is in; some see this link Just yesterday "I drove that cart"; I passed a select with (@"{0:MM/dd/yyyy HH:mm:ss}; then changed to (@"{0:yyyy-MM-dd hh:mm:ss}. An…
-
3
votes4
answers2318
viewsA: Table load of a different seat
An alternative using SQL Server Management Studio itself.... right click on the desired database, choose "generate script" choose the objects you want to generate the script, click next after…
sql-serveranswered Marco Aurelio 368 -
1
votes1
answer247
viewsQ: What do the Visual Studio object browser icons represent?
We know by this link the meaning of the main icons, but there are still some that are not clear, and appear in the Visual Studio, as an example: or . There is another table known with this legend…
visual-studioasked Marco Aurelio 368 -
1
votes1
answer896
viewsQ: Increase line height of a gridcontrol devexpress
Gentlemen(s), I have a gridcontrol of devexpress(12.1) being filled by a list, and I need to increase the line if the text is larger, and I need to do this dynamically (if the text fits the width, I…