Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ASP .NET Web API CRUD operation using Entity Framework- Customer class
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