castle-activerecord
Timeout exception when timeout set to infinite time
In my C# .NET 3.5 application I am using CastleProject ActiveRecord over NHibernate. This is desktop application using MS SQL Server 2008. I have set ADO command timeout to 0 to prevent timeout except[详细]
2023-01-18 05:50 分类:问答Set Foreign Key name for HasAndBelongsToMany with Castle ActiveRecord
Is it possible to set the name of the foreign key constraints added for a HasAndBelongsToMany relationship?[详细]
2023-01-17 05:25 分类:问答How to determine order number of an item in sorted table
(continued from Read N consequent items by ActiveRecord) My project is C# and uses CastleProject ActiveRecord on MS SQL Server database.[详细]
2023-01-16 06:45 分类:问答Read N consequent items by ActiveRecord
My project is C# and uses CastleProject ActiveRecord on MS SQL Server database. I need to retrieve N consequent items from the database, sorted by some criteria, started from some value.[详细]
2023-01-15 21:23 分类:问答Unable to create schema with Castle ActiveRecord
I\'m trying to get started with Castle ActiveRecord (following the \"Getting started with ActiveRecord\" screencast).[详细]
2023-01-15 08:36 分类:问答How to convert Castle Activerecord to pure NHibernate or Fluent NHibernate?
I\'m going to refactor a growing project from using Castle Activerecord to pure NHibernate or Fluent NHibernate with Service/Repository pattern and POCO.[详细]
2023-01-15 05:21 分类:问答A different object with same identifier was already associated with the session error
Scenario: I have a customer object with lazy loading enabled. I use that throughout the program to call a list of customer for a listbox. It has relationships to the Division_Customer_Rel, Division_Em[详细]
2023-01-13 23:33 分类:问答How to find object in nHibernate/castle activerecord session
I am getting the following error in an Asp.Net Castle ActiveRecord app when trying to update an object:[详细]
2023-01-13 23:33 分类:问答Add SQL query options to NHibernate query
I\'m working with some code that generates ICriteria queries for NHibernate. They get executed using ActiveRecord and ActiveRecordMediator.FindAll()[详细]
2023-01-13 16:12 分类:问答Datetime string in HQL
I am using Castle ActiveRecord for my application. My 开发者_运维知识库problem is how to use a datetime string in HQL like this (without using parameters):[详细]
2023-01-13 15:40 分类:问答