castle-activerecord
Why Castle Active Record's `FindAllByProperty` calls `OnUpdate`?
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[详细]
2023-01-08 13:47 分类:问答What is the preferred way of using unsupported SQL functions or clauses with Castle/NHibernate?
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[详细]
2023-01-08 06:34 分类:问答Generalizing a Fetch() function for data sources
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.[详细]
2023-01-08 00:28 分类:问答Limiting fields in Select statement generated by Linq to Castle ActiveRecord
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[详细]
2023-01-07 18:01 分类:问答What is the problem with my Castle ActiveRecord web.config
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[详细]
2023-01-07 01:04 分类:问答ActiveRecord: how to find constraints?
I\'m kind of new t开发者_Python百科o ActiveRecord (using CastleProject) and gaining knowledge step by step.[详细]
2023-01-06 19:05 分类:问答Unable to cast object of type 'MyType' to type 'Castle.Proxies.MyType'
In which situation following error occurs? Unable to cast object of type \'MyType\' to type \'Castle.Proxies.MyType\'.[详细]
2023-01-05 19:27 分类:问答How to convert class to inherited class while using ActiveRecord
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?[详细]
2023-01-05 14:19 分类:问答How to define recursive Property in Castle ActiveRecord?
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[详细]
2023-01-05 09:17 分类:问答1 to N Relationship Mappings with Castle ActiveRecord
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.[详细]
2023-01-05 05:26 分类:问答