Posts by Pedro Souza • 21 points
2 posts
-
2
votes1
answer437
viewsA: How to work with CHAR-like Enums using C# and Entity Framework
You could use a proper Enum: public class EnumBase { public EnumBase() { Locals = new HashSet<Local>(); } public int EnumBaseId { get; set; } public string Nome { get; set; } public string…
-
0
votes1
answer38
viewsA: Switching between [Page Class] pages in an application
Depends on your application: If you have a system with few pages, load them initially, in the second option may be ideal; But at first besides "clean" the page, it will be loaded on-demand, and for…