Table of Contents

Class Region

Namespace
GastroSky.Models
Assembly
GastroSky.Models.dll
[Table("Regions")]
[PrimaryKey("Code", new string[] { "CountryCodeISO" })]
public class Region
Inheritance
Region
Inherited Members

Properties

Code

public required string Code { get; set; }

Property Value

string

Country

public Country? Country { get; set; }

Property Value

Country

CountryCodeISO

[ForeignKey("Country")]
[MaxLength(3)]
public required string CountryCodeISO { get; set; }

Property Value

string