Posts by flaubert165 • 65 points
4 posts
-
-1
votes3
answers927
viewsA: How to declare an attribute in interface?
Good night, my friend. This escapes a little from the concepts of POO, because an interface has to be a "purely abstract class", at most contain signatures of methods to be implemented according to…
-
1
votes3
answers687
viewsA: Bundleconfig.Cs is even needed
Good night, my friend. Bundleconfig.Cs is very important yes! Gives you more possibilities. Example: Center and choose the order of running scripts . js and the same thing for your style files .…
-
0
votes1
answer171
viewsA: How to add a left 0 to a datetime
Use the format method(); Example: select format(cast([NOME_DA_COLUNA] as DATETIME), "hh:mm") from [dbo].[NOME_DA_TABELA]
-
1
votes1
answer122
viewsA: How to instantiate a part of a class with Entityframework working with CRUD only on these data
Leandroluk, I recommend that to improve the integrity of your code use some practices: 1 - Set database column to 'not null'; 2 - Use Annotation '[Required]' in the attributes of your class;…