castle-activerecord
Sending ORM model classes over http/tcp transports
This is a general question about how you deal with ORM models when having to pass them between applications via http and tcp transports, however specifically I\'m using NHibernate via Castle Active Re[详细]
2023-02-14 01:17 分类:问答Castle ActiveRecord - How do I know if an object instance is transient?
The title pretty means what i\'m trying to do. There is a way to kno开发者_StackOverflow社区w if an object instance is transient? (Or, at least, was not saved yet?)[详细]
2023-02-13 23:12 分类:问答Session is Closed - Castle ActiveRecord
What is wrong here? public IQueryable<Customer> GetAllCustomers() { using (SessionScope scope = new SessionScope())[详细]
2023-02-13 09:21 分类:问答mapping view using castle activerecord, exception on primary key
Using answer from this question, I\'m trying to map my database view. But, it throw exception because I don\'t define any PrimaryKey on the mapping class (the view doesn\'t have any primary key). Do I[详细]
2023-02-13 03:10 分类:问答Invalid index n for this SqlParameterCollection with Count=m
I\'m getting this nasty error in Castle Active Record (wrapped around NHibernate) when I try to save a class:[详细]
2023-02-12 19:47 分类:问答Create an activerecord class that has a field that behaves like an enum (but is a reference to another activerecord class)
Sorry for long title, the question is rather simple: I have 2 classes, Player and Role (they are active开发者_StackOverflow中文版record table)[详细]
2023-02-11 12:53 分类:问答ActiveRecord relational order by
How can I perform I relational order by query? Let\'s say I have a class call Car which has a Property called Person which is another model. Person has a property called name. I want to get all cars b[详细]
2023-02-09 08:57 分类:问答What are all these DLLs in the Castle ActiveRecord 3.0 beta?
This is a list of the DLLs in the Castle ActiveRecord 3.0 beta.Does anyone know what all these do?Which ones are required for a new project, and which ones are optional?[详细]
2023-02-09 07:24 分类:问答Unable to cast object of type 'NHibernate.Caches.SysCache.SysCacheProvider' to type 'NHibernate.Cache.ICacheProvider'
I\'m using NHibernate 2.1.2 via Castl ActiveRecord. I wanted to set up second level cache using SysCache. But I got error:[详细]
2023-02-09 05:47 分类:问答Is first level cache enabled in my Castle ActiveRecord based application?
I have a simple level ASP.NET web application based on Castle ActiveRecord. How can I determine if 开发者_开发百科first level cache is enabled within it or not?First level cache can never be disabled.[详细]
2023-02-08 22:39 分类:问答