Need Tutorial, Castle Active records with MS Access

2011-07-18 Thread umefarooq
Hi i am a PHP developer and work on Codeigniter framework and really like their active records, now i am trying to develop a small database form application in .net and found really handy Castle AR and i really like how its working, but i am facing some problem. i want to use MS Access as Database

Re: Need Tutorial, Castle Active records with MS Access

2011-07-18 Thread Alex Henderson
I don't think you will find any tutorials covering the use of Active Record with an Access database. That said, Castle ActiveRecord is built on top of the NHibernate ORM - so what you are looking for is the Jet dialect/driver for NHibernate - this is not a standard part of NHibernate, but is part

Re: Need Tutorial, Castle Active records with MS Access

2011-07-18 Thread umefarooq
really great thanks for reply, i know that Sql server is the best combination with .net, i will give a try -- You received this message because you are subscribed to the Google Groups Castle Project Users group. To post to this group, send email to castle-project-users@googlegroups.com. To

Re: Need Tutorial, Castle Active records with MS Access

2011-07-18 Thread Juanma
The problem with Sql Server is the installation process. We have found a lot of issues when trying to install SQL on different environments, with many combinations of platforms (WinXP, Vista, 7), architectures (x86, x64), installed componentes, etc. On Mon, Jul 18, 2011 at 12:09 PM, umefarooq

Re: Need Tutorial, Castle Active records with MS Access

2011-07-18 Thread Ken Egozi
Access also needs some form of installation on a machine. not all windows machines can run the Jet 4.0 engine (which is what access use). You should be looking into SQLite in file mode. It has a good support for NHibernate. It is not however very suitable for high concurrency but I suspect it is

Re: Need Tutorial, Castle Active records with MS Access

2011-07-18 Thread Juanma
Regarding firebird... Is it really a good option for an embedded deployment? Is the NH support good enough? As I said in my previous mail we found a lot of issues with sql express installation process, and we are currently looking for an embedded alternative. I don't like access, and I was

Re: Need Tutorial, Castle Active records with MS Access

2011-07-18 Thread Patrick Steele
I'll give a +1 for SQLite. Had a small, single-user project for a non-profit that we wanted to use ActiveRecord with. SQLite worked just fine with AR and it exposed just a single file that made backups easier for the user. I don't recall having any problems and the project came together

Re: Need Tutorial, Castle Active records with MS Access

2011-07-18 Thread Juanma
Is the SQLite schema very different from the SQL Server one? In our project, we'd like to keep two versions of the app, a lite version with reduced functionality but easier deployment, and a full version, more powerful and with concurrent users support. Since we are going to use SQL Server in the

Re: Need Tutorial, Castle Active records with MS Access

2011-07-18 Thread Patrick Steele
I have not done a comparison of the schema options. For the project I used, migration was not an option. However, if you're using ActiveRecord on a new database, there's the GenerateSchema method to create your schema. You should be able to use that with both SQLite and SQL Server. --- Patrick

Re: Need Tutorial, Castle Active records with MS Access

2011-07-18 Thread Juanma
Hmmm, actually I suppose the real problem would be more different datatypes than the schema itself. On Mon, Jul 18, 2011 at 7:01 PM, Patrick Steele patrick.ste...@gmail.comwrote: I have not done a comparison of the schema options. For the project I used, migration was not an option.

Re: Castle Scheduler broken after upgrading Windsor

2011-07-18 Thread Mauricio Scheffer
Master branch seems to be fairly up to date (Windsor 2.5.2) : https://github.com/castleproject/Castle.Components.Scheduler The only problem is, there hasn't been a release in over a year... César Sanz, are you there? -- Mauricio On Sat, Jul 16, 2011 at 8:42 PM, Michael mhartma...@yahoo.com

Re: Castle.Facilities.NHibernateIntegration AutoTx

2011-07-18 Thread Henry Conceição
Which version are you using? Did you marked the class as transactional? And btw, usually it's a bad ideia to have the controller as a transaction boundary. On Jul 16, 11:40 am, Chuck swampy...@gmail.com wrote: I am trying to use the CFN plus ATM. I thought I had everything set up, but I am not

Re: Need Tutorial, Castle Active records with MS Access

2011-07-18 Thread Alex Henderson
NHibernate makes it easy to smooth out the different data type issues between databases. For me the only irksome thing is that once you project becomes brownfield the approach to database migrations for Sql Server and Sqlite are quite different - with sql server you can add/remove/change columns

Register via Attribute

2011-07-18 Thread PandaWood
I was considering registering some types via their attribute (ServiceContract) I found an example at http://docs.castleproject.org/Windsor.Registering-components-by-conventions.ashx But it doesn't compile - it comes close, which is why I thought I'd ask. I'm using 2.5.3 I was wondering if this

Re: Castle Scheduler broken after upgrading Windsor

2011-07-18 Thread Shawn Hinsey
Did you try redirecting the assembly bindings? See a webconfig from an mvc 3 project for an example. That'll work as long as the issue is just the assembly version and not a breaking api change. On Jul 16, 2011 7:42 PM, Michael mhartma...@yahoo.com wrote: Hey all, I upgraded to Windsor 2.5.1 and

Re: Castle Scheduler broken after upgrading Windsor

2011-07-18 Thread Mauricio Scheffer
There is no need to use binding redirects. The master branch is already updated for Windsor 2.5.2 -- Mauricio On Tue, Jul 19, 2011 at 2:40 AM, Shawn Hinsey smhin...@gmail.com wrote: Did you try redirecting the assembly bindings? See a webconfig from an mvc 3 project for an example. That'll