Dapper
-
Does anyone here use the Dapper ORM?
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013Yep. It's relatively easy to use, but also not too powerful. It does a good job of abstracting away the database, but not much more. At least it's not a memory hog and does not slow down things too much.
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a fucking golf cart.
"I don't know, extraterrestrial?" "You mean like from space?" "No, from Canada." If software development were a circus, we would all be the clowns. -
Does anyone here use the Dapper ORM?
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013EF 6 has more optimizations than before, and is more powerful IMHO then 4 or 5. Any reason why you can't use that?
-
EF 6 has more optimizations than before, and is more powerful IMHO then 4 or 5. Any reason why you can't use that?
Slacker007 wrote:
EF 6 has ... Any reason why you can't use that?
It's from Microsoft.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013 -
Comments? Opinions?
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013Very good. It's not trying to do everything, like EF or NHibernate; it just makes certain tasks with raw ADO.NET a lot easier.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
Slacker007 wrote:
EF 6 has ... Any reason why you can't use that?
It's from Microsoft.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013John Simmons / outlaw programmer wrote:
It's from Microsoft.
Well, that is not really a good reason. You have to have a better reason for that, I would think. Our shop/company has been using EF 5 and 6 with great results. We recently went to Code First, and I like that too, despite my initial hesitation...to change.
-
John Simmons / outlaw programmer wrote:
It's from Microsoft.
Well, that is not really a good reason. You have to have a better reason for that, I would think. Our shop/company has been using EF 5 and 6 with great results. We recently went to Code First, and I like that too, despite my initial hesitation...to change.
Dapper is written in C# which is from Microsoft too :-)
Regards, Nish
Website: www.voidnish.com Blog: voidnish.wordpress.com
-
Dapper is written in C# which is from Microsoft too :-)
Regards, Nish
Website: www.voidnish.com Blog: voidnish.wordpress.com
:-D I rest my case.
-
John Simmons / outlaw programmer wrote:
It's from Microsoft.
Well, that is not really a good reason. You have to have a better reason for that, I would think. Our shop/company has been using EF 5 and 6 with great results. We recently went to Code First, and I like that too, despite my initial hesitation...to change.
Slacker007 wrote:
Well, that is not really a good reason.
It's always been a good reason in the past. And I like living in the past.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013 -
Dapper is written in C# which is from Microsoft too :-)
Regards, Nish
Website: www.voidnish.com Blog: voidnish.wordpress.com
C# is simply a copy of java, but without the cross-platform capabilities.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013 -
John Simmons / outlaw programmer wrote:
It's from Microsoft.
Well, that is not really a good reason. You have to have a better reason for that, I would think. Our shop/company has been using EF 5 and 6 with great results. We recently went to Code First, and I like that too, despite my initial hesitation...to change.
Besides all of the above, I didn't ask if anyone had used EF.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013 -
Besides all of the above, I didn't ask if anyone had used EF.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013Fair enough, John.
-
Very good. It's not trying to do everything, like EF or NHibernate; it just makes certain tasks with raw ADO.NET a lot easier.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
I looked in NuGet, and there's a crapload of dapper-related stuff in there. What's worth getting?
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013 -
C# is simply a copy of java, but without the cross-platform capabilities.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013I'm no Java guy but observing the news Kent posts about Java language development it looks like the table has turned and Java becomes a copy of C# ;P More on topic: If you're looking for a non-Microsoft "heavy" ORM then I would suggest to take a look at VITA[^]. I haven't used it myself yet but it sounds really good.
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
-
I looked in NuGet, and there's a crapload of dapper-related stuff in there. What's worth getting?
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013I've only used the core package[^] so far. Dapper.Contrib[^] looks interesting, and is maintained by the same team: Dapper.Contrib - more extensions for dapper[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
Fair enough, John.
BTW, a few folks claim that Dapper's faster than EF6 - so I guess there's that.
Regards, Nish
Website: www.voidnish.com Blog: voidnish.wordpress.com
-
BTW, a few folks claim that Dapper's faster than EF6 - so I guess there's that.
Regards, Nish
Website: www.voidnish.com Blog: voidnish.wordpress.com
It most certainly is - but that's apples and oranges.
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
-
BTW, a few folks claim that Dapper's faster than EF6 - so I guess there's that.
Regards, Nish
Website: www.voidnish.com Blog: voidnish.wordpress.com
I have heard of Dapper, and that is about all. I have the most experience with EF but I am not going on the record to say that it is the best. I'm sure there are applications best suited for Dapper. I found this to be interesting. The conclusion at the end is the most important. Dapper looks to be faster in a lot of respects. Interesting. Don't Panic Labs – Speed Comparison: Dapper vs Entity Framework[^] Looks like Stackoverflow uses Dapper.
-
BTW, a few folks claim that Dapper's faster than EF6 - so I guess there's that.
Regards, Nish
Website: www.voidnish.com Blog: voidnish.wordpress.com
The difference is big! If you want faster you have to run your own, like I did.
Wrong is evil and must be defeated. - Jeff Ello
-
Slacker007 wrote:
EF 6 has ... Any reason why you can't use that?
It's from Microsoft.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013Aren't .NET and Mono both from Microsoft, or are you targeting some other platform?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
-
Does anyone here use the Dapper ORM?
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013Not that one, but I have used something called 'PetaPoco', which is kinda based on Dapper. The nice thing, to me, is it is a single .cs file that can be included right in you solution. He also has a later version that is a normal assembly. You will probably need to google 'PetaPoco' to find it.