¡@

Home 

c# Programming Glossary: nhibernate

Which ORM for .NET would you recommend? [closed]

http://stackoverflow.com/questions/132676/which-orm-for-net-would-you-recommend

How can I easily convert DataReader to List<T>? [duplicate]

http://stackoverflow.com/questions/1464883/how-can-i-easily-convert-datareader-to-listt

If are able to you are likely to be better of using NHibernate EF or Linq to Sql etc However on old project or for other sometimes..

Are there good reasons not to use an ORM? [closed]

http://stackoverflow.com/questions/194147/are-there-good-reasons-not-to-use-an-orm

to use an ORM closed During my apprenticeship I have used NHibernate for some smaller projects which I mostly coded and designed.. understand two of the main reasons for not using NHibernate or a similar project One can just build one ™s own data access.. refactoring the business classes and DTOs. Also using NHibernate you can run into unforeseen problems if you do not know the..

C# Object Pooling Pattern implementation

http://stackoverflow.com/questions/2510975/c-sharp-object-pooling-pattern-implementation

that functions similarly to the ISession object from NHibernate. That each unique session manages it's connection to the database... very frequently A Yes once again they can be thought of NHibernate ISessions where 1 is usually acquired and released for the duration..

Identifying NHibernate proxy classes

http://stackoverflow.com/questions/2664245/identifying-nhibernate-proxy-classes

NHibernate proxy classes I'm not an NHibernate user I write a serialization.. NHibernate proxy classes I'm not an NHibernate user I write a serialization utility library. A user has logged.. A user has logged a feature request that I should handle NHibernate proxy classes treating them the same as the actual type. At..

Does Entity Framework 4 Code First have support for identity generators like NHibernate?

http://stackoverflow.com/questions/5275306/does-entity-framework-4-code-first-have-support-for-identity-generators-like-nhi

4 Code First have support for identity generators like NHibernate This question asked a year ago is similar Does the Entity Framework.. Entity Framework 4 support generators for id values like NHibernate But what I'd like to know is if the code first CTP adds support.. first is still just nice wrapper around EFv4. There are no NHibernate like generators. If you want client side Id generator you will..

Programming to interfaces while mapping with Fluent NHibernate

http://stackoverflow.com/questions/845536/programming-to-interfaces-while-mapping-with-fluent-nhibernate

to interfaces while mapping with Fluent NHibernate I have been whipped into submission and have started learning.. whipped into submission and have started learning Fluent NHibernate no previous NHibernate experience . In my project I am programming.. and have started learning Fluent NHibernate no previous NHibernate experience . In my project I am programming to interfaces to..

Polymorphism: Is ORM entity a Domain Entity or Data Entity?

http://stackoverflow.com/questions/11257484/polymorphism-is-orm-entity-a-domain-entity-or-data-entity

and Class objects LINQ to XYZ polymorphism c# .net nhibernate linq to sql domain driven design share improve this question..

Persist Data by Programming Against Interface

http://stackoverflow.com/questions/11291202/persist-data-by-programming-against-interface

SQL mapping exception when using abstract base classes c# nhibernate linq to sql tdd domain driven design share improve this question..

How do I serialize all properties of an NHibernate-mapped object?

http://stackoverflow.com/questions/1190718/how-do-i-serialize-all-properties-of-an-nhibernate-mapped-object

like this xml version 1.0 hibernate mapping xmlns urn nhibernate mapping 2.2 namespace StoryManager assembly StoryManager class.. be on to something using reflection... c# web services nhibernate xml serialization proxy classes share improve this question..

NHibernate.Spatial and Sql 2008 Geography type - How to configure

http://stackoverflow.com/questions/1495169/nhibernate-spatial-and-sql-2008-geography-type-how-to-configure

provide any insights would be greatly appreciated. c# nhibernate sql server 2008 fluent nhibernate geography share improve.. greatly appreciated. c# nhibernate sql server 2008 fluent nhibernate geography share improve this question I am in the same boat..

additional fields in NHibernate many-to-many relation tables

http://stackoverflow.com/questions/166426/additional-fields-in-nhibernate-many-to-many-relation-tables

relation tables when i have a many to.many relation with nhibernate and let nhibernate generate my db schema it adds an aditional.. i have a many to.many relation with nhibernate and let nhibernate generate my db schema it adds an aditional table that contains.. without having to hassle around with sql manually c# .net nhibernate share improve this question I don't think thats possible...

Are there good reasons not to use an ORM? [closed]

http://stackoverflow.com/questions/194147/are-there-good-reasons-not-to-use-an-orm

integration are non existing here up to now. c# nhibernate orm enterprise share improve this question There's been..

Identifying NHibernate proxy classes

http://stackoverflow.com/questions/2664245/identifying-nhibernate-proxy-classes

required to create an instance of the proxy type c# .net nhibernate share improve this question You can detect if a class is..

Use XML includes or config references in app.config to include other config files' settings

http://stackoverflow.com/questions/480538/use-xml-includes-or-config-references-in-app-config-to-include-other-config-file

other config files' settings I have standard logging nhibernate etc configuration blocks in my app.config and I'd like to extract..

Programming to interfaces while mapping with Fluent NHibernate

http://stackoverflow.com/questions/845536/programming-to-interfaces-while-mapping-with-fluent-nhibernate

know not to be critical. Thanks for the responses. c# nhibernate fluent nhibernate nhibernate mapping share improve this question.. critical. Thanks for the responses. c# nhibernate fluent nhibernate nhibernate mapping share improve this question UPDATE using.. Thanks for the responses. c# nhibernate fluent nhibernate nhibernate mapping share improve this question UPDATE using union subclass..

How to tell Fluent NHibernate not to map a class property

http://stackoverflow.com/questions/907576/how-to-tell-fluent-nhibernate-not-to-map-a-class-property

a class property I have a class that is mapped in fluent nhibernate but I want one of the classes properties to be ignored by the.. HasMany x x.Events .Inverse what do I put here to tell nhibernate to ignore my HasEvents property c# nhibernate fluent nhibernate.. to tell nhibernate to ignore my HasEvents property c# nhibernate fluent nhibernate share improve this question map.IgnoreProperty..

Fluent nHibernate: one-to-many relationship Issue

http://stackoverflow.com/questions/1454293/fluent-nhibernate-one-to-many-relationship-issue

nHibernate one to many relationship Issue I have a problem with one to..

NHibernate Code Generation

http://stackoverflow.com/questions/1703254/nhibernate-code-generation

responses and found that the code generation tools in the nHibernate space to be pretty poor. I might be able to get away with MyGeneration..

Referencing different versions of the same assembly

http://stackoverflow.com/questions/223195/referencing-different-versions-of-the-same-assembly

because I'm using a 3rd party dll uses a older version of nHibernate than I'm using myself. c# dll build process assemblies versioning..

nHibernate session and multithreading

http://stackoverflow.com/questions/242961/nhibernate-session-and-multithreading

session and multithreading I had a method with a lot of persistence.. I had a method with a lot of persistence calls that used a nHibernate session it worked was alright. But I needed to refactor this.. with this method. It is like a normal refactoring but the nHibernate session inside this method call is broken without context I..

T4 template for NHibernate? - not Fluent NHibernate

http://stackoverflow.com/questions/508035/t4-template-for-nhibernate-not-fluent-nhibernate

Using Multiple databases in Fluent Nhibernate, System.TypeInitializationException was unhandled

http://stackoverflow.com/questions/11225101/using-multiple-databases-in-fluent-nhibernate-system-typeinitializationexceptio

Multiple databases in Fluent Nhibernate System.TypeInitializationException was unhandled I was trying..

NHibernate.Spatial and Sql 2008 Geography type - How to configure

http://stackoverflow.com/questions/1495169/nhibernate-spatial-and-sql-2008-geography-type-how-to-configure

2008 Geography type How to configure I am trying to use Nhibernate with the Sql 2008 Geography type and am having difficulty. I.. Geography type and am having difficulty. I am using Fluent Nhibernate to configure which I am fairly new to so that may be the problem.. In order to use the MsSql2008GeographyDialect with Fluent Nhibernate I have created my own configuration class public class Sql2008Configuration..

What ORM for .net should I use?

http://stackoverflow.com/questions/1691575/what-orm-for-net-should-i-use

setup problems vaporize the minute you start using Fluent Nhibernate personally I hardly do without it anymore as it removes all..

How to map IDictionary<string, Entity> in Fluent NHibernate

http://stackoverflow.com/questions/2254176/how-to-map-idictionarystring-entity-in-fluent-nhibernate

Use Component as IDictionary index in AsMap in Fluent Nhibernate Hi I have an class with an IDictionary on it. map name CodedExamples..

Ensure NHibernate SessionFactory is only created once

http://stackoverflow.com/questions/2362195/ensure-nhibernate-sessionfactory-is-only-created-once

an NHibernateSessionFactory class which holds a static Nhibernate ISessionFactory. This is used to make sure we only have one.. a session on it. The code looks like this public class NhibernateSessionFactory INhibernateSessionFactory private static ISessionFactory.. looks like this public class NhibernateSessionFactory INhibernateSessionFactory private static ISessionFactory _sessionFactory..

Dialect/Driver - Every SELECT I perform, add with(nolock)

http://stackoverflow.com/questions/9933002/dialect-driver-every-select-i-perform-add-withnolock

a Driver or Dialect which whenever I perform a SELECT in Nhibernate the SELECT adds the with nolock with it. I need that to be in..