sharp-architecture
Fluent Automapper issue with tag creation
POST EDITED - see edit below I have a query about the FLuent Automapping which is used as part of the SHarp Architecture.Running one of the tests cases will generate a schema which I can use to creat[详细]
2023-04-07 23:09 分类:问答Ignore Base class with Sharp Architecture and Fluent NHibernate
Using Sharp Architecture 1.9 I have a base class that inherits from the Sharp Arch Entity class public class LineItem : EntityWithTypedId<Guid>[详细]
2023-04-02 15:42 分类:问答Updating an entity and ignore child proxies when using NHibernate StatelessSession
I\'m trying to bulk-update entities using a StatelessSession. Because it\'s stateless, NHibernate doesn\'t auto-cascade child entities upon save.[详细]
2023-04-01 05:40 分类:问答How to use Data Annotations with Sharp Architecture
We recently upgraded to MVC2 and SharpArchitecture 1.6. Our models are all in our Project.Core project, while resources are in our Project.Web project. We can\'t reference the resource files in Core ,[详细]
2023-03-30 21:19 分类:问答How to setup NHibernate with Sharp Architecture in a multi-threaded console application?
I\'m still pretty new to these technologies.The real problem here is how to manage the sessions per thread in the console app.Currently, if I run it as a single thread then all is well.As soon as I sw[详细]
2023-03-30 17:33 分类:问答SaveOrUpdate is trying to insert NULL into primary key field
I\'m creating a little application using Sharp Architecture, and I\'ve run into a bug I can\'t figure out. I think it has something to do with the NHibernte mappings. In my HttpPost Create() method, m[详细]
2023-03-28 13:04 分类:问答Using SharpArchitecture's NHibernateSession in conjunction with a different thread
I\'m using SharpArchitecture in an ASP.NET MVC 3 application. Everything works wonderfully. Using SharpArchitecture\'s NHibernateInitializer to initialize a new Session per request like so:[详细]
2023-03-16 02:41 分类:问答Nhibernate.linq Session.Query ignore not.lazyload
I\'m using SharpArch, i extended the Repository adding this methods : public IQueryable<T> FindAll(Expression<Func<T, bool>> expression)[详细]
2023-03-15 22:15 分类:问答ISessionFactoryKeyProvider missing from CommonServiceLocator when upgrading NHibernate from 2.1 to 3.0
I have a ASP.NET MVC application that uses Spring.NET 1.2 for dependecy injection and NHibernate 2.1 for ORM. It has been running on MVC 3, using S#arp Architecture in a slightly modified version whic[详细]
2023-03-12 04:39 分类:问答Sharparchitecture upgrade from 1.5 to 1.9 error
I have upgraded SharpArchitecture from 1.5 to 1.9. I have followed the guide here http://blog.sharparchitecture.net/post/Sharp-Architecture-19-released.aspx, and ensured that I have set \"copy local[详细]
2023-03-10 00:21 分类:问答