NHibernate sub query on Orders filtering by usergroup

A client had a need to filter the Monthly Sales Summary report by group membership.  In other words, restrict the totals to orders placed by users only in a specific user group. The initial NHibernate query is such: ICriteria criteria = NHibernateHelper.CreateCriteria<CommerceBuilder.Orders.Order>("O") .CreateCriteria("Items", "OI", NHibernate.SqlCommand.JoinType.InnerJoin) .Add(Restrictions.Eq("O.Store", AbleContext.Current.Store));   So I added a dropdown t...

Mar 17, 2014 READ MORE
Server 2012 how to set folder permissions ASP.Net application pool

Microsoft tries so hard to make things simple, yet often winds up making them harder.  I needed to set folder permissions with an ASP.Net 4.0 website running on Server 2012.   The problem was the site worked, but certain folders needed Modify rights. To make this happen properly, you have to: 1.  Locate the name of the application pool assigned to your asp.net website.  In my case, we’ll call it BlahAppPool.  You can find which app pool is assigned by using IIS Manager and going to the Basic Settings of the website in question. 2.&...

Mar 05, 2014 READ MORE