Posts by Alerf Morais • 121 points
8 posts
-
0
votes1
answer35
viewsQ: Registering attributes from different classes in the same View
I have a Teacher class that has a User, and I want to register the User fields in the Teacher View. How can I be doing this public class Usuario { public int Id { get; set; } public int Matricula {…
-
0
votes2
answers425
viewsQ: Class association or inheritance?
What better way to create an association or heritage where I have the class User and the class Academic whereas Academic is a User User-class: public class Usuario { public int Id { get; set; }…
-
1
votes1
answer2364
viewsQ: The template item inserted in the dictionary is of type 'System.Collections.Generic.List`
I am developing a project where I have the Patient class inherited from the User class and I am using the Entity Framework to map the database tables by type (TPT), when I try to access the Patient…
-
1
votes1
answer179
viewsQ: How does class inheritance work in C#?
I have class 1 and class 2, class 2 inherits from class 1. Other classes that inherit from class 2 will inherit the attributes of class 1?
-
2
votes1
answer65
viewsQ: Enable an input field according to an Enum
I have an Enum of schooling if in case the user selects the level of education as an incomplete or complete superior I want to appear a field to insert which is the course How can I do that ?…
asp.net-mvcasked Alerf Morais 121 -
1
votes1
answer29
viewsQ: Display an Enumdropdownlistfor as a condition
How to present a EnumDropDownListFor as a condition? For example, if the user wishes to inform his or her sexual orientation Enum is presented. Otherwise it is not presented.…
-
1
votes1
answer54
viewsQ: Log data through different View
I am beginners in Asp net mvc and would like to know how I can register data from an entity going through different View from the same Controller Thank you !!
asp.net-mvcasked Alerf Morais 121 -
3
votes1
answer52
viewsQ: Views Index, List views show date in wrong format
I am developing an ASP.Net MVC project and the Views Index and Listing Views show the date in Year/Month/Day format, but I want them to show in Day/Month/Year format. What do I do?
asp.net-mvcasked Alerf Morais 121