namespace wcftest.orm { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("VmaterialInfo")] public partial class VmaterialInfo { [Key] [Column(Order = 0)] public long Product_Id { get; set; } [Key] [Column(Order = 1)] [StringLength(50)] public string ProductCode { get; set; } [Key] [Column(Order = 2)] [StringLength(500)] public string ProductName { get; set; } public int? Brand_Id { get; set; } [StringLength(50)] public string SmallUnit { get; set; } [StringLength(50)] public string BigUnit { get; set; } [StringLength(50)] public string Creator { get; set; } public DateTime? CreateDate { get; set; } public DateTime? ModifyDate { get; set; } } }