Created
July 22, 2021 18:07
-
-
Save manoj-choudhari-git/57d9153beb05a89113fad55e1f2afc45 to your computer and use it in GitHub Desktop.
.NET - Entity Framework Core - Student Entity for Global Filters Demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Student | |
{ | |
public int Id { get; set; } | |
public string FirstName { get; set; } | |
public string LastName { get; set; } | |
public string Address { get; set; } | |
public string Nationality { get; set; } | |
public DateTime CreatedOn { get; set; } | |
public DateTime ModifiedOn { get; set; } | |
public bool IsDeleted { get; set; } | |
public DateTime DeletedOn { get; set; } | |
public override string ToString() | |
=> $"{{ Id: {Id}, FirstName={FirstName}, LastName:{LastName}, IsDeleted={IsDeleted} }}"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment