Created
May 3, 2020 05:15
-
-
Save k4m4r82/0a7083c1e8759c067a1b26e551913d53 to your computer and use it in GitHub Desktop.
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
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