automapping
Fluent NHibernate Automappings generating 2 foreign keys for 1 relationship
I have this setup (condensed for brevity) Class Employee virtual IList<ChecklistItem> HasInitialed { get; private set; }[详细]
2023-04-07 06:38 分类:问答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 分类:问答FluenNHibernate .Formula("...") not work
I use FluentNHibernate with AutoMapping. No custom conventions or alterations are used. Both NHibernate and FluentNHibernate assemblies are of the latest versions. Database is Sqlite3[详细]
2023-03-28 21:34 分类:问答How to rename a component column that is a foreign key?
We are using fluentnhibernate with automapping and we have a naming convention that all columns that are foreign keys, there column name will end with \"Key\". So we have a convention that looks like[详细]
2023-03-27 15:48 分类:问答Jquery post to Action with Dictionary Parameter
I am feeling dejavu, but I cannot find the answer to this: I have an array of objects that needs to look like this when inspecting a jQ $.post call:[详细]
2023-03-27 00:28 分类:问答Fluent NHibernate: Mapping HasManyToMany by convention
I\'m using Fluent NHibernate\'s AutoMap feature to map my entities. Most of my entities inherit from a base class Entity which has a property public IList<Tag> Tags.[详细]
2023-03-22 16:34 分类:问答Change column for joined class mapping in Fluent NHibernate Automapping
I have an inheritance public abstract class UserEntity : Entity { public virtual int Id { get; pr开发者_StackOverflowotected set; }[详细]
2023-03-21 18:37 分类:问答fluent NHibernate automapping
Please, how can I do map a property of type one-to-many in fluent NHibernate through AutoMapping? My entities are mapp开发者_运维技巧ed like down there:[详细]
2023-03-18 14:49 分类:问答FluentNhibernate automapping a tree (recursive association)
I\'m trying to automap a class Code. Codes can have (Sub)Codes. public class Code { public virtual string Key{get;set;}[详细]
2023-03-15 19:38 分类:问答How to get single table inheritance for a single class hierarchy
I use FluentNHibernate with AutoMapping to map my persistent classes. The default Table per Sub-Class mapping works fine for almost all of my class hierarchies, except one:Here I have an abstract base[详细]
2023-03-14 07:03 分类:问答