Code migration unexpectedly tries to rename table
问题 I want to implement a change log as advised in Dev Express XAF T474899 I am using the security system generated by the XAF new solution wizard I have defined some business objects to store the change log information. One of these objects stores a link to the user public virtual User User { get; set; } On generating the code migration I am surprised to see the Up() method add the following RenameTable(name: "dbo.UserRoles", newName: "RoleUsers"); DropPrimaryKey("dbo.RoleUsers"); AddPrimaryKey(