python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Fluent Nhibernate Many to many with a pk and fk in one table
Hey i have the following mysql tables:
and i have the following maping classes:
public class WalletMap : ClassMap<Wallet>
{
public WalletMap()
{
Id(x => x.wa...
need_help_1234
Votes: 0
Answers: 1
Cannot insert the value NULL into on referenced object
I'm trying to add a new object with nHibernate, but for some reason it tries to update a field on a referenced object that hasn't been provided resulting in:
Cannot insert the value NULL into column '...

FoxHound
Votes: 0
Answers: 2
Fluent NHibernate: How to map FK keys as properties in .NET Core version
we are using fluent API and I need to know how I can map it correctly so we can use ParentId instead of having to go through Parent entity. Is that possible? I know it can be done using EF Core so I w...

XzaR
Votes: 0
Answers: 1
NHibernate: One-To-One-Relationship not correctly updating
I want to map two types, ConnectionProfile to ConnectionType. In my ConnectionProfile I have:
public virtual ConnectionType ConnectionType { get; set; }
in my ConnectionType I have:
public virtual Co...
rabejens
Votes: 0
Answers: 1