// Decompiled with JetBrains decompiler // Type: PartSource.Entities.Models.PostalCode // Assembly: PartSource.Entities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57 // Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Entities.dll using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; namespace PartSource.Entities.Models { public class PostalCode { [Key] [MaxLength(3)] public string ForwardSortationArea { get; set; } [Required] public string City { get; set; } [Required] public string Province { get; set; } [Required] public DbGeography Location { get; set; } [NotMapped] public string LocalDeliveryUnit { get; set; } [NotMapped] public string Code { get { return string.Format("{0} {1}", (object) this.ForwardSortationArea, (object) this.LocalDeliveryUnit); } } } }