fluent-nhibernate
FluentNHibernate: How to map database char to c# bool?
I have set up my first project using FluentNHibernate. When I tried to get a list of records from a single table, I got an exception which says:[详细]
2023-04-04 09:26 分类:问答fluent nhibernate: Mapping a Many-to-many realationship as a one-to-many relationship
We a mant-to-many relationship modeled in开发者_Go百科 the database (with a bridge table) between Student and Professor, but in our entites we want to model it as a one-to-many relationship i.e. a Stu[详细]
2023-04-04 06:11 分类:问答FluentConfigurationException was unhandled
FluentConfigurationException was unhandled An invalid or incomplete configuration was used while creating a SessionFactory. Check PotentialReasons collection, and InnerException for more detail.[详细]
2023-04-04 04:44 分类:问答Are there examples of SPROC mappings and usage with Fluent NHibernate?
I\'m looking for an example of how I would/should use the SqlUpdate, SqlDelete, and SqlInsert parts of Fluent NHibernate in my mappings.[详细]
2023-04-04 01:17 分类:问答how to achieve table per concrete class when base class is abstract in fluent nhibernate?
i have the following scenario public abstract class BaseClass { public virtual int Id {get; set}; public virtual string Name {get; set;}[详细]
2023-04-04 00:32 分类:问答Fluent NHibernate Many to One Mapping Problem
Edit I have the answer and will post it up tomorrow. I have a class that appears to be using the parent primary key column instead of it\'s own primary key column.[详细]
2023-04-03 14:27 分类:问答How to map a component with private scope with Fluent NHibernate?
I\'ve got to columns in a legacy schema, that I\'d like to map as a component (aka value type). The reference to the component/value type is of private scope.[详细]
2023-04-03 11:26 分类:问答linq to nhibernate reusing business logic in queries
I\'m working on a project where we are using fluent nhibernate and perform queries on our repository for entities. Often we write queries like this:[详细]
2023-04-03 08:01 分类:问答Fluent NHibernate: Initializing OneToMany collections
I have a standard one-to-many relationship between two objects, Person and Order.This is represented in my object model as a collection of orders on the Person.This manife开发者_如何学JAVAsts itself i[详细]
2023-04-03 05:33 分类:问答NHibernate Mapping 1 Object To 2 Tables
We want to use NHibernate as our persistence layer in our application. We are also using Fluent NHibernate for the mappings.[详细]
2023-04-02 23:59 分类:问答