Tagged Questions

Castle ActiveRecord is an implementation of the ActiveRecord pattern for .NET.
Castle ActiveRecord is built on top of NHibernate, but its attribute-based mapping frees the developer of writing XML for database-to-object mapping, which is needed when using NHibernate directly.

Can anyone point me toward a sample project that utilizes the latest version of Castle.ActiveRecord? I am having some difficulties with the config. I have a working project for the original version ...

I decided migrate the version of Castle ActiveRecord in my project ASP.NET MVC 4 from version 2.1.2 to 3.0.0. Was also updated version of NHibernate 2.1.2 to version 3.1.0. There are several queries ...

I'm having the a problem when trying to persist a many to one relationship using Castle ActiveRecord and I hope someone has a better idea than me with this, the idea is to save a single object with a ...

I am trying to make an nHibernate entity that implements Microsoft.AspNet.Identity.IUser but I want to use Guids for the Id key property. I am building this in a Castle ActiveRecord environment.
I'm ...

I am developing an MVC Application in .net and want to use Castle ActiveRecord. I have tried with SQL query, it works fine. I have tried to use stored procedure but it has not worked. Can I use stored ...

I am using Castle ActiveRecord in my Asp.net / MVC 2 / Multi-tenancy application with SQL Server as my backend.
For every user logging in, the app loads the corresponding DB, dynamically at run time ...

I have updated our data layer project to use NHibernate 3 instead of NHibernate 1.1 and now i getting problem with that SaveAndFlush() not seems to work like before.
Example code:
Order order = new ...

I have an MVC3 NHibernate/ActiveRecord project. The project is going okay, and I'm getting a bit of use out of my model objects (mostly one giant hierarchy of three or four classes).
My application ...

Spurred on by this question, I decided to try this in my MVC3/ActiveRecord application.
I have a bunch of models already working, and some views that do stuff with those models. Nothing special here. ...

The framework we're planning is divided into multiple modules responsible for single units of work and they shouldn't know about each other.
However, each module could have it's own domain objects (I ...

I have downloaded the Active Record and NHibernate and compiled both with the flag "AllowPartiallyTrustedCallers". But I'm still getting errors in the method "ActiveRecordStarter.Initialize" on the ...