Posts by Ricardo • 121 points
5 posts
-
0
votes1
answer143
viewsA: Fluentnhibernate.cfg.Fluentconfigurationexception.Getobjectdata how to resolve?
Sorry I don’t answer, but why don’t you use Mapping-by-code? It’s native to NH, it doesn’t need another lib, and it doesn’t have these zicas from Fluent:…
-
0
votes2
answers86
viewsA: ORM that can connect with 2 BD types (SQL or HANA)
Nhibernate is multi Session Factory, each Factory Session can be configured to access a database different from the other. See in detail in this article:…
-
0
votes2
answers2468
viewsA: Doubt about Keypress in Pygame
See this example of a game 'space Invader', the approach he uses is interesting. Basically when the player presses the button, it assigns a true flag, and disables that flag in the keyup (drop it).…
-
2
votes2
answers279
viewsA: Web Crawler searching for specific text on the page
You can do it more easily with the Mechanicalsoup library (https://github.com/MechanicalSoup/MechanicalSoup) To use just install in your environment: Pip install Mechanicalsoup To take the amount…
-
0
votes2
answers1515
viewsA: Data Displayfor display formatting
I prefer to treat this in view model, example: public class MyModel { public DateTime? DataHora { get; set; } public string Data { get { return DataHora?.ToShortDateString(); } } public string Hora…