namespace iWareSql.MyDbContext { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; public partial class v_oldMater_ware_inventory { [Key] [Column(Order = 0)] [StringLength(50)] public string MaterialCode { get; set; } public int? Quantity { get; set; } [Key] [Column(Order = 1)] [StringLength(6)] public string Area { get; set; } } }