I am using Fluent NHibernate to query data stored in a SQL Server temporal table. All I really want to do is to run a query such as Via NHibernate. ...
I am using Fluent NHibernate to query data stored in a SQL Server temporal table. All I really want to do is to run a query such as Via NHibernate. ...
How do I map an enum property as an integer foreign key in (Fluent) NHibernate? The enum property serves as a type field which is an integer in the d ...
I am struggling to have the Foreign Keys in my mappings. My Model looks like this: and my Mappings look like this And so, what I am trying to d ...
I'm very new to flutter, so I couldn't figure it out. When a user customizes their apenter image description herepbar setting in the App Ui menu setti ...
I want to use the NHibernate configuration for FluentNhibernate when building a session. This how I am constructing my factory session: I am not s ...
I get an error like this when writing unit test My product class is like this. I added virtual. My map is like this. SqlServerHelper like this. ...
TL;DR: A query using wildcards/like takes four times longer to complete in Fluent NHibernate than executing exactly the same query using Management St ...
I tested NHibernate in .net Core and in .Net framework and it seems that requesting a null reference is managed and does not raise a null reference fo ...
I have this entity mapping: When I try to run my get all query Fluent NHibernate generates the following SQL statement: I just need NHibernate a ...
The issue is when selecting directly on the base model the generated SQL performs an left outer select on the subclasses. Basemodel. My Mapping is ...
Description For a project I'm working on, I'm creating a purge feature that deletes old data from this system's database. I've found that, while my S ...
I have the following classes: So the CompositeGeometry has a MainGeometry and a list of geometries. Any given geometry may belong to multiple Compo ...
I want to map a collection of components on an entity. The component looks like this: These are unique across PermissionType and SettingName, so as ...
How can we override the usage of the HqlExists class for it's usage creating an EXISTS clause in a given NHibernate configuration/dialect? The driver ...
Hey i have the following mysql tables: and i have the following maping classes: the error says "MySqlException: Field 'currency_id' doesn't ha ...
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 result ...
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 po ...
I want to map two types, ConnectionProfile to ConnectionType. In my ConnectionProfile I have: public virtual ConnectionType ConnectionType { get; set ...
I have the following use case: Object is an Aggregate Root and Tag a Value Object. Both are stored in 2 different tables: I'm trying to create t ...
I want to check if there is a person in the database who has exactly two specific addresses. My proper SQL query: I am trying to create (C# and Qu ...