castle-activerecord
Many-To-Many relation through non-primary key for legacy system
I have a legacy system I\'m working on and there is a particular relationship I\'m having trouble with.[详细]
2023-01-13 12:00 分类:问答ActiveRecord/NHibernate DateTime problem
I\'m using ActiveRecord/NHibernate for ORM mapping in my project with PostgreSQL 8.4. I have following issue[详细]
2023-01-12 05:26 分类:问答Invalid primary key datatype [int]
I am using Afo Castle AR Code Generator v1.0.0.4 at fi开发者_如何学JAVArst I was receiving errors for using tinyint as a primary key so I changed those to int but the only error I have left and can\'t[详细]
2023-01-11 14:11 分类:问答accessing a table where the column name is a reserved keyword
I am setting up Castle Active Record to access a legacy database on an Microsoft SQL Server.The table in question has a column named function.When I 开发者_StackOverflowattampt to load a record it giv[详细]
2023-01-11 09:05 分类:问答Using Castle ActiveRecord to query from multiple tables
So I\'ve been using Castle ActiveRecord for my late开发者_如何转开发st project and for the most part I like it a lot. Now I\'m trying to figure out how to execute a simple join query with AR and I\'m[详细]
2023-01-11 03:17 分类:问答Mapping production database
I just completed mapping 100~ tables from our production Oracle database. Along the way I noticed that many relationships were not modelling. Mostly foreign keys.[详细]
2023-01-09 21:14 分类:问答VB.NET, Castle ActiveRecord and MySQL: Duplicate entry in a unique field
When user inserts a duplicate entry in a unique field, Castle ActiveRecord throws the following exception:[详细]
2023-01-09 15:43 分类:问答How can I define an Order parameter through a belongsTo table in Castle ActiveRecord
Hi guys take a look in the following entity: Produto = Products (in english) [ActiveRecord(\"produtos\", Lazy=true)][详细]
2023-01-09 07:31 分类:问答How can I extend a model from a different assembly?
How can I add a property to a model that was created in an other assembly. We have many applications ranging from desktop applications to web applications so I have class library with each model neede[详细]
2023-01-08 20:39 分类:问答Active Record/Nhibernate TransactionScopes problems
This question is purely AR related. Let\'s say I have 2 layers in my web/wcf application - DataLayer and BusinessLayer.[详细]
2023-01-08 20:20 分类:问答