{"action":"closed","issue":{"url":"https://api.github.com/repos/aspnet/EntityFramework/issues/6081","repository_url":"https://api.github.com/repos/aspnet/EntityFramework","labels_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/6081/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/6081/comments","events_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/6081/events","html_url":"https://github.com/aspnet/EntityFramework/issues/6081","id":165643561,"number":6081,"title":"Not creating fields in the sequence of the class using the [ Column ( Order = ..) ]","user":{"login":"ralmsdeveloper","id":16335882,"avatar_url":"https://avatars.githubusercontent.com/u/16335882?v=3","gravatar_id":"","url":"https://api.github.com/users/ralmsdeveloper","html_url":"https://github.com/ralmsdeveloper","followers_url":"https://api.github.com/users/ralmsdeveloper/followers","following_url":"https://api.github.com/users/ralmsdeveloper/following{/other_user}","gists_url":"https://api.github.com/users/ralmsdeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/ralmsdeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralmsdeveloper/subscriptions","organizations_url":"https://api.github.com/users/ralmsdeveloper/orgs","repos_url":"https://api.github.com/users/ralmsdeveloper/repos","events_url":"https://api.github.com/users/ralmsdeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/ralmsdeveloper/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-14T19:48:59Z","updated_at":"2016-07-14T19:50:27Z","closed_at":"2016-07-14T19:50:26Z","body":"\r\n**I have a class and as the EF Core creates the table does not meet the class order.**\r\n\r\n  \r\n\r\n```\r\n[Table(\"clientes\")]\r\n    public class Clientes\r\n    {\r\n        [Key]\r\n        [Display(Name = \"Código\")]\r\n        [Column(Order = 1)]\r\n        public int clienteid { get; set; }\r\n\r\n        [Display(Name = \"Tipo Contribuinte\")]\r\n        [Column(Order = 2)]\r\n        public int tipocontribuinte { get; set; }\r\n\r\n        [Display(Name = \"CNPJ/CPF\")]\r\n        [StringLength(14)]\r\n        [Column(TypeName = \"varchar(18)\", Order = 3)]\r\n        [Required] \r\n        public string cnpj { get; set; }\r\n\r\n        [Display(Name = \"I.E/RG\")]\r\n        [StringLength(16)]\r\n        [Column(TypeName = \"varchar(16)\", Order = 4)]\r\n        public string inscest { get; set; }\r\n\r\n\r\n        [Display(Name = \"Razão Social\")]\r\n        [StringLength(50)]\r\n        [Column(TypeName = \"varchar(50)\", Order = 5)]\r\n        [Required(AllowEmptyStrings =false)]\r\n        public string razsocial { get; set; }\r\n\r\n        [Display(Name = \"Fantasia\")]\r\n        [StringLength(50)]\r\n        [Column(TypeName = \"varchar(50)\", Order = 6)]\r\n        [Required]\r\n        public string fantasia { get; set; }\r\n\r\n\r\n        [Display(Name = \"Estado\")]\r\n        [StringLength(2)]\r\n        [Column(TypeName = \"varchar(2)\", Order = 7)]\r\n        public string estado { get; set; }\r\n} \r\n```\r\n\r\n**I'm using [ Column ( Order = ..) ]**\r\n\r\nEF Core version: 1.0 RTM\r\nOperating system:  Windows 10 x64 \r\nVisual Studio version: 2015 Update 3 \r\n\r\n "}}
{"actor":{"display_login":"ajcvickers"}}