Created
July 16, 2021 17:43
-
-
Save manoj-choudhari-git/40b0b4a0211e7bcda4f762c5f8acda26 to your computer and use it in GitHub Desktop.
.NET - Entity Framework Core Model for a demo of .NET Events
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 DateTime CreatedOn { get; set; } | |
public DateTime ModifiedOn { get; set; } | |
public DateTime DeletedOn { get; set; } | |
public override string ToString() | |
=> $"Student Id ={Id}, FirstName={FirstName}"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment