Created
January 28, 2015 22:13
-
-
Save meyerovb/505d650d354aba075104 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 System.ComponentModel.DataAnnotations; | |
using System.ComponentModel.DataAnnotations.Schema; | |
namespace PGTest.Models | |
{ | |
[Table("public.Region")] | |
public partial class Region | |
{ | |
[Key] | |
[StringLength(10)] | |
public string RegionCode { get; set; } | |
[Required] | |
[StringLength(2)] | |
public string CountryCode { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment