DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 620 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

sirrocco Subscribe to this feed
sirrocco
Profile Kicked Submitted Comments Tags Friends Kicked By Friends Submitted By Friends


Comments:

We all got that email :D
posted by sirrocco sirrocco 2 days, 6 hours ago

damn .. march 2007 :) . missed that
posted by sirrocco sirrocco 16 days, 10 hours ago

The submitter probably just found out about it :)
posted by sirrocco sirrocco 1 month, 3 days ago

The source is in .net
posted by sirrocco sirrocco 2 months, 30 days ago

I wonder where the article is ... I only saw adds.
posted by sirrocco sirrocco 3 months, 17 days ago

no source code :(
posted by sirrocco sirrocco 4 months, 19 days ago

I have in fact posted it :) , and yes, there is the Expression Trees thingy in the title , but i felt the accent was on LinqToSql vs NH . And I am really liking NH :P.
Can you tell ? ;)
posted by sirrocco sirrocco 5 months ago

To me , that has almost NOTHING to do with NHibernate.
I mean sure, strongly typed. But you can't compare that LinqToSql to NHibernate .
You can compare the ToSql part with NHibernate and say : it produces better querys(or not) and compare mapping styles and what you can do with them.

There already is a project LinqToNhibernate. Then you will have type safety.
posted by sirrocco sirrocco 5 months ago

hmm . .indeed it is.... however none of them seems like will make the front page :(
posted by sirrocco sirrocco 5 months, 4 days ago

Well, you might be familiar to the XmlWriter api, i'm not - so when looking at your code and his code, the wrapper looks nicer, and easyer to understand to me.

And i'm not really sure how many know the XmlWriter api so well that they would find hard to read and understand the fluent interface one.

Oh , and at the comment above when i kept writing "link" i meant "linq" :D
posted by sirrocco sirrocco 6 months, 3 days ago

damn ... we need some code tags :))
posted by sirrocco sirrocco 6 months, 3 days ago

Granted is not the fastest or most efficient way, but it does look good and it seems allot more maintainable to me. Maybe if you have a 10MB xml file you should use XmlWriter, otherwise I would go with this fluent interface.

In the blog comments someone said : why not use link ? - I'm pretty sure you can't do this with link :

XmlOutput xo = new XmlOutput()
.XmlDeclaration()
.Node("root").Within()
.Node("numbers").Within();

for (int i = 1; i <= 10; i++)
xo.Node("number").Attribute("value", i.ToString()).InnerText("This is the number: " + i);
posted by sirrocco sirrocco 6 months, 3 days ago

Nice copy paste from : Sams Teach Yourself Microsoft SQL Server 2005 Express in 24 Hours .
That's the way to go ;)
posted by sirrocco sirrocco 6 months, 9 days ago

I should look on the bright side then huh ? :D :D
posted by sirrocco sirrocco 6 months, 11 days ago

Are you trying to move MSDN over to your page ? otherwise what's the point ? ;(
posted by sirrocco sirrocco 6 months, 11 days ago

Other than that, there's no actual tests to show the big improvement.
Unless you're in a tight time critical loop - I'm thinking it's not worth it . :)
posted by sirrocco sirrocco 6 months, 26 days ago
 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge