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
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?)
What is wrong here? public IQueryable<Customer> GetAllCustomers() { using (SessionScope scope = new SessionScope())
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
I\'m getting this nasty error in Castle Active Record (wrapped around NHibernate) when I try to save a class:
Sorry for long title, the question is rather simple: I have 2 classes, Player and Role (they are active开发者_StackOverflow中文版record table)
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
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?
I\'m using NHibernate 2.1.2 via Castl ActiveRecord. I wanted to set up second level cache using SysCache. But I got error:
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.