Hecho Irepositorio y borrado codigo viejo de repositorios. Además configuré entity framework
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
@@ -11,6 +12,7 @@ namespace Entidades
|
||||
public string Correo { get; set; }
|
||||
public bool Habilitado { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public string NombreCompleto
|
||||
{
|
||||
get { return $"{Nombre} {Apellido}"; }
|
||||
|
||||
Reference in New Issue
Block a user