When I call FindAllByProperty it calls OnUpdate in castle Active Record, This causes an stack overflow because I do some duplicating check on OnUpdate an instance. Consider following code. Why it call
I modeled all of my tables and already ported most of my queries using detached criteria\'s. All is working very well however I\'m at a point where I don\'t know how to advance. I ha开发者_开发问答ve
I have a Repository that should adapt itself to any kind of data source. This includes certain types of web services, databases (using ActiveRecord and NHibernate) and even flat files.
I\'m using ActiveRecord and LinqToActiveRecord to query my database. The problem is, that the generated SQL statement from my LINQ expressi开发者_Go百科on always tries to select all possible fields, i
I\'m trying to upgrade my ASP.NET MVC 1 website to version 2.While doing this I\'m having to update all of my other assemblies as well.This includes Castle\'s ActiveRecord dll as well.Here is the erro
I\'m kind of new t开发者_Python百科o ActiveRecord (using CastleProject) and gaining knowledge step by step.
In which situation following error occurs? Unable to cast object of type \'MyType\' to type \'Castle.Proxies.MyType\'.
I\'ve got a class Project and a class Case, which inherits from Project. When having a list of Projects we might decide later on to make a Case of the selected Project. How can I achieve this?
Suppose you have a class named MyClas开发者_如何学Cs. MyClass should have a property named Parent, Parent must be of type MyClass itself. It is necessary because MyClass wants to hold a tree structure
This is my first post on Stack Overflow! (yay!) I\'m having trouble with a Castle ActiveRecord mapping, which I thought would be a pretty common scenario, but maybe I didn\'t \"google\" right.