fluent-nhibernate
Best configuration strategy for testing/deploying in different environments
I am creating a web service that uses Fluent NHibernate and I am developing across several Machines that of course have different connection strings.I am wondering how do I go about configuring the te[详细]
2023-04-12 14:07 分类:问答Calling Stored Procedure using NHibernate as a Named Query with Input Parameters
Problem Description: I am trying to execute a stored procedure with an input parameter. The stored procedure executes correctly when run from MSSQL 2008 SQL Studio. However I get an error while runni[详细]
2023-04-12 12:11 分类:问答Better to use two many to many tables or one table with three Foreign Key References
I\'m Creating a WCF Web Service and mapping my domain model using Fluent Nhibernate and I have noticed that the objects can be represented in different ways and so can the data behind it.[详细]
2023-04-12 05:36 分类:问答How do I map a collection and a property in class A to a single property in class B/C
I have 3 classes that I\'m trying to map using fluent nHibernate, but I\'ve hit a wall. I have a collection in class A that refers to class B, B also has a reference to A. So that is a Many-to-one rel[详细]
2023-04-12 04:31 分类:问答FluentNHibernate on a Oracle database, nullable foreignkey (Classic issue?)
Im in a bit of a jam. Problem NHibernate forces me to make a foreignkey column nullable, which is a very bad idea for our database and quite ugly.[详细]
2023-04-12 03:59 分类:问答NHibernate - CreateSQLQuery exception "No persister for ..", why?
I\'m trying to create a SQL query in NHibernate using CreateSQLQuery: var query = session.CreateSQLQuery([详细]
2023-04-12 03:04 分类:问答Fluent NHibernate - override table names
Application has many extension assemblies and they contain mappings for their classes. I need to add prefix to all (base, join, many-to-many, ...) table names in those mappings.[详细]
2023-04-12 00:33 分类:问答NHibernate Table Per Class loading - wrong type
I have a mapping issue with the table-per-class hierarchy in Fluent/NHibernate.When retrieving the records from the database, I keep getting an error (the Wrong type exception)[详细]
2023-04-11 18:58 分类:问答Map Dictionary with list of elements
Is it possible with Fluent NHibernate to map a property with开发者_如何学运维 the following signature?[详细]
2023-04-11 18:19 分类:问答Wrong column name in table per subclass strategy with abstract class in hierarchy
Consider the following class hierarchy: public abstract class Entity { public virtual int Id { get; private set; }[详细]
2023-04-11 07:38 分类:问答