Skip to content

Instantly share code, notes, and snippets.

@k4m4r82
Created May 3, 2020 05:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save k4m4r82/0a7083c1e8759c067a1b26e551913d53 to your computer and use it in GitHub Desktop.
Save k4m4r82/0a7083c1e8759c067a1b26e551913d53 to your computer and use it in GitHub Desktop.
using Dapper.Contrib.Extensions;
namespace NorthwindApi.Model.Entity
{
[Table("products")]
public class Product
{
[ExplicitKey]
public string product_code { get; set; }
public string product_name { get; set; }
public double standard_cost { get; set; }
public double list_price { get; set; }
public string category { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment