[Ironruby-core] Active Record Or LINQ with IronRuby...?

2008-03-14 Thread Rahil Kantharia
Hi, In my learning process, i am confused with the Advantages of ORM like " ActiveRecord" and "Linq to SQL" I would like to know... what majority developers think on this point. Is it worth to go with LINQ to take full advantages or Get use to ActiveRecord / Data Mapper for a proven ORM option.

Re: [Ironruby-core] Active Record Or LINQ with IronRuby...?

2008-03-14 Thread Ivan Porto Carrero
All of them have their advantages and disadvantages. Linq2Sql only works for MS Sql Server, but gives you a graphical designer for your objects. It implements a unit of work which reduces the number of database calls. It doesn't however support many-to-many relations, and it depends how much value

Re: [Ironruby-core] Active Record Or LINQ with IronRuby...?

2008-03-14 Thread Rahil Kantharia
Thanks Ivan for the excellent guidance. You helped me move ahead, but i am still in confused stage in choosing the right ORM. Perhaps your book will explain more on this. I think i should accept your idea to go SubSonic Way, since Subsonic understands Active Record much better and its a straig

Re: [Ironruby-core] Active Record Or LINQ with IronRuby...?

2008-03-14 Thread Ivan Porto Carrero
In my book I will use the ActiveRecord from Rails for most of the examples because it will be the most well-known and I suspect the one where most developers are curious about. I will show how to leverage some of the other ORM's to show that there are other options available. I think SubSonic is a

Re: [Ironruby-core] Active Record Or LINQ with IronRuby...?

2008-03-14 Thread Softmind Technology
Ivan Porto Carrero wrote: > In my book I will use the ActiveRecord from Rails for most of the > examples --- Dear Ivan, You mean to say you will be using ActiveRecord with IronRuby...? Will Active Record work only with IronRuby on Rails or within Asp.N

Re: [Ironruby-core] Active Record Or LINQ with IronRuby...?

2008-03-14 Thread Softmind Technology
Hi, Here's a list of LINQ providers. LINQ to Everything http://blogs.msdn.com/charlie/archive/2008/02/28/link-to-everything-a-list-of-linq-providers.aspx LINQ Providers * LINQ to Amazon * LINQ to Active Directory * LINQ to Bindable Sources (SyncLINQ) * LINQ over C# project *

Re: [Ironruby-core] Active Record Or LINQ with IronRuby...?

2008-03-14 Thread Ivan Porto Carrero
Because IronRuby is an implementation of the Ruby language you will be able to use ActiveRecord with anything. I want to note again that there won't be a thing like IronRuby on Rails. The rails framework will just run on IronRuby just like it now runs on CRuby and JRuby. The database I'm using is

Re: [Ironruby-core] Active Record Or LINQ with IronRuby...?

2008-03-14 Thread drh
And as pointed out in the reply's a few missing ones on the list. LINQ to Entities, (and the ones prebuilt in) LINQ to XML LINQ to SQL and the in memory LINQ PLINQ in the parallel platform ctp LINQ to XSD has showed back up also. Sure I am missing about 10 more just can't think of them at 4 am

Re: [Ironruby-core] On Console options

2008-03-14 Thread Michael Letterle
Don't do it from PowerShell :) You also have to pass in -X:SaveAssemblies... On Thu, Mar 13, 2008 at 5:58 PM, Ivan Porto Carrero <[EMAIL PROTECTED]> wrote: > Ooops.. I hit tab-enter.. sorry for that. > > > > -- Forwarded message -- > From: Ivan Porto Carrero <[EMAIL PROTECTED]> >

Re: [Ironruby-core] On Console options

2008-03-14 Thread Tomas Restrepo
> Don't do it from PowerShell :) You also have to pass in -X:SaveAssemblies... :) You can actually still use rbx from powershell, simply wrap the -X switches in quotes: .\rbx '-X:AssembliesDir' 'C:\' test.rb -- Tomas Restrepo http://www.winterdom.com/weblog/ ___

Re: [Ironruby-core] On Console options

2008-03-14 Thread Michael Letterle
Ah, I had only tried wrapping the path in quotes, not the option itself... That's weird, do you know why off hand? On Fri, Mar 14, 2008 at 8:50 AM, Tomas Restrepo <[EMAIL PROTECTED]> wrote: > > Don't do it from PowerShell :) You also have to pass in -X:SaveAssemblies... > > :) > > You can actua

Re: [Ironruby-core] Active Record Or LINQ with IronRuby...?

2008-03-14 Thread Softmind Technology
Hi Ivan, I still have my doubts about smooth functioning of SQL Server 2005 with Active Record. I have heard several complains about SQL Driver 2005 not efficient as it should be. MySql/Sqlite etc are working great with Active Record. I just thought to invite your attention regarding this, sin

Re: [Ironruby-core] Active Record Or LINQ with IronRuby...?

2008-03-14 Thread John Lam (DLR)
Softmind Technology: > I still have my doubts about smooth functioning of SQL Server 2005 with > Active Record. > > I have heard several complains about SQL Driver 2005 not efficient as > it should be. MySql/Sqlite etc are working great with Active Record. The SQL Server team is investigating pro

[Ironruby-core] Professional IronRuby book announced by Wrox

2008-03-14 Thread Softmind Technology
Hi, It was nice to see this blog here. Its about an upcoming book on IronRuby called " Professional IronRuby " by Wrox. http://rbazinet.wordpress.com/2008/03/14/professional-ironruby-coming-to-a-bookstore-near-you/ I have been reading blogs by Rob Bazinet on regular basis. He stands as one of v

Re: [Ironruby-core] Few Small Examples in Linq with IronRuby

2008-03-14 Thread Rahil Kantharia
Web Reservoir wrote: > But can someone provide few examples, how Linq with IronRuby will look > alike. --- I am the second interested. LINQ 2 SQL is very important. I think few experts should start some tutorials about this Looking at the codes in C# and