Created
August 6, 2020 13:35
-
-
Save corespider/8c4b55e23f1d571dfb42bec9904c008f to your computer and use it in GitHub Desktop.
ASP .NET Web API CRUD operation using Entity Framework- Customer class
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
namespace CustomerAPI.Models | |
{ | |
[Table("Customer")] | |
public class Customer | |
{ | |
[Key] | |
public int CustId { get; set; } | |
public string Name { get; set; } | |
public string Address { get; set; } | |
public string Mobile { get; set; } | |
public string Email { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment