Hi, great!
To change entity table link column:
{
targets: 3,
data: "name",
render: function (data)
{
return '<a href="' + data + '">Länk</a>';
},
},
Hi,
Seems like a problem with iis+core https://github.com/aspnet/AspNetCore.Docs/issues/6905
For a remedy I've activated "Application Initialization" on server, so we'll see how that turns out.
Best/Peter
Hi, stashed all my changes and started over and now it workes.
Should have done it sooner..
Best /Peter
public virtual int? Wordone { get; set; }
public Word Wordo { get; set; }
public virtual int? Wordtwo { get; set; }
public Word Wordt { get; set; }
Hi,
Added foreignkeys explicit on both words, and it resolved the ref issue, but now throws a SQL error instead
public virtual int? WordId { get; set; }
[ForeignKey("WordId1")]
public Word Word { get; set; }
public virtual int? WordId2 { get; set; }
[ForeignKey("WordId2")]
public Word Word2 { get; set; }
Exception thrown: 'System.Data.SqlClient.SqlException' in System.Private.CoreLib.dll