namespace OMS.NET.DbClass { [Table("map_data")] public class Map : BaseObject { [Column("id", true)] // Primary Key and Identity false public string Id { get; set; } [Column("name")] public string Name { get; set; } [Column("description")] public string Description { get; set; } public Map() { Id = ""; Name = ""; Description = ""; } public Map(string key, string name, string description) { Id = key; Name = name; Description = description; } } }