s#arp-architecture
In S#arp Architecture's Entity class, how can GetHashCode get away with caching the hash code
S#arp Architecture\'s Entity base class currently implementats GetHashCode like this: public override int GetHashCode()[详细]
2023-04-01 23:42 分类:问答NHibernate + IIS7.5 throws "A session factory has already been configured with the key of nhibernate.current_session"
Using S#arp Architecture 2.3 RC, I am trying to publish two websites which use -mostly- the same codebase. The first of the applications I publish runs correctly, however, upon deploying and trying to[详细]
2023-04-01 20:48 分类:问答nhibernate exception - External component has thrown an exception
I have started to get this exception: External component has thrown an exception cause by this code: NHibernate.Cfg.Configuration config = NHibernateSession.Init([详细]
2023-03-24 15:15 分类:问答Sharp Architecture inheritance problem
my problem is with inheritance. I have a Actor class using System.Collections.Generic; using SharpArch.Core;[详细]
2023-03-17 03:32 分类:问答Sharp architecture 2.0 unit testing
I am just trying to test some validation which involves the database. The setup of my test code looks something like this:[详细]
2023-03-15 11:35 分类:问答ServiceLocator not initialized in Tests project
When attempting to write a test related to my new Tasks (MVC3, S#arp 2.0), I get this error when I try to run the test:[详细]
2023-03-15 02:12 分类:问答Should I refer to Entity Object class always as DAL or I can use its classes?
Let\'s say I have \'Customer\' table in SQL DB and I\'m using Entity Framework. Now, for instance, in Controller or ViewMode开发者_StackOverflow中文版l I retrieve the customer by var customer = Page.[详细]
2023-03-11 15:43 分类:问答NHiberate Validator start date before end date
Using Nhibernate Validator (with S#harp Architecture / MVC3), how can I write a custom attribute, preferably not object-specific (since this is a fairly common requirement) that enforces that Property[详细]
2023-03-06 02:04 分类:问答Mapping properties between two databases using Fluent NHibernate & S#arp Architecture
I have a scenario where I have a new application built using NHibernate and S#arp Architecture.This application is being integrated into a legacy application that does not use NHibernate.There will be[详细]
2023-03-05 12:43 分类:问答Register a custom model binder with Sharp Architecture
I\'m new to MVC (I\'m using ver. 3) and Sharp Architecture, and I\'m having trouble figuring out how to use a custom model binder.[详细]
2023-02-28 02:43 分类:问答