| |
browse.develop.com
Browse.develop.com is a community that was established to collect and
organize valuable web information. Our technical staff have selected and
indexed information and courses that they feel will help you stay
current on best practices across the SDLC.
|
16 Articles match "LINQ","Query"
| Related DevelopMentor Courses | MORE | | Maurice de Beijer: Querying RavenDB databases Querying the database As IDocumentSession.Query () return an IQueryable we can just start composing queries just as we can with EntityFramework or another ORM. As with any query this is easy to correct. If you prefer the full LINQ syntax that is no problem as it produced exactly the same result±. If you try this you might notice one big difference from EntityFramework or in memory LINQ queries. And in the query I am not doing anything about making this a case insensitive search. It turns out that RavenDB always uses an index when you do a query. The Problem Solver - Monday, December 17, 2012 Understanding Map - Reduce In fact you could easily rewrite this into a LINQ query like this: 1: private static IEnumerable Map(IEnumerable orders). And in fact that is all there is to a Map process, it is just a LINQ select clause. So just as with the Map process we could easily rewrite this as a LINQ group by query like this: 1: private static IEnumerable Reduce(IEnumerable input). So where the Map process is just a LINQ select the Reduce process is just a LINQ group by with the additional collection that the input type is also the output type. Simple right? 10: }. The Problem Solver - Monday, December 3, 2012 Screening C# Candidates: Let’s Play 20 Questions! For example, someone might be called upon to build a WPF app retrieving data from a WCF service that queries a SQL database using Entity Framework with Ninject for dependency injection and MOQ for unit testing. What keyword would you use to define an inline variable in a LINQ query? What keyword would you use to define an inline variable in a LINQ query? Over the past year I was involved in the process of interviewing candidates for both mid and senior level developer positions. Furthermore, I’m looking for a developer with a thirst for knowledge. > no 5. DevelopMentor Courses - Tuesday, February 28, 2012 |
43 Articles match "LINQ","Query"
| The Latest from DevelopMentor | MORE | | A Roundup of MongoDB Management Tools LINQPad lets you interactively query databases in a modern query language: LINQ. You can take your classes and queries directly from your app and test and view the results in this GUI. Filed under: NoSQL Tagged: LINQ , NoSQL , Open Source. NoSQL LINQ Open Source 'I’ve been working with MongoDB for a long time now. Back in the early days, there really were no management tools analogous to RDBMS tools (e.g. SQL Server Management Studio ). Since then, things have changed significantly. The news is good. link]. Admin GUI). Multiple shells. Brilliant. Michael C. Kennedy's Weblog - Monday, April 22, 2013 Optimistic concurrency in MongoDB using.NET and C# All you do is call save and access entities via LINQ queries. 'This article demonstrates a technique and supporting library for adding optimistic concurrency control to NoSQL databases and MongoDB in particular. Quickly, what is optimistic concurrency control? Ideally, all databases that allow concurrent access or disconnected access need to implement some form of concurrency control. This usually comes in two flavors: Pessimistic concurrency control. Optimistic concurrency control. Pessimistic concurrency control is usually used when working heavily within transactions. Michael C. Kennedy's Weblog - Monday, April 8, 2013 Querying RavenDB databases Querying the database As IDocumentSession.Query () return an IQueryable we can just start composing queries just as we can with EntityFramework or another ORM. As with any query this is easy to correct. If you prefer the full LINQ syntax that is no problem as it produced exactly the same result±. If you try this you might notice one big difference from EntityFramework or in memory LINQ queries. And in the query I am not doing anything about making this a case insensitive search. It turns out that RavenDB always uses an index when you do a query. The Problem Solver - Monday, December 17, 2012 | -
| The Best from DevelopMentor | MORE | - A Roundup of MongoDB Management Tools
LINQPad lets you interactively query databases in a modern query language: LINQ. You can take your classes and queries directly from your app and test and view the results in this GUI. Filed under: NoSQL Tagged: LINQ , NoSQL , Open Source. NoSQL LINQ Open Source 'I’ve been working with MongoDB for a long time now. Back in the early days, there really were no management tools analogous to RDBMS tools (e.g. SQL Server Management Studio ). Since then, things have changed significantly. The news is good. link]. Admin GUI). Multiple shells. Brilliant. - The NoSQL Movement, LINQ, and MongoDB - Oh My!
Interact with the database using LINQ. Shortly we’ll look at an example where we build out a disconnected, offline RSS reader that uses MongoDB and LINQ to store its data. But just think about how you might structure your data storage if you could save entire object graphs and still query them? Then your *entire* query to pull all the details of a single blog would hit a single “table” in the database. That might look like this query which has one result: var blog =. Then we’d use LINQ to SQL or Entity Framework to generate the ORM classes. Insanity!” Michael C. Kennedy's Weblog - Thursday, April 22, 2010 - Maurice de Beijer: Querying RavenDB databases
Querying the database As IDocumentSession.Query () return an IQueryable we can just start composing queries just as we can with EntityFramework or another ORM. As with any query this is easy to correct. If you prefer the full LINQ syntax that is no problem as it produced exactly the same result±. If you try this you might notice one big difference from EntityFramework or in memory LINQ queries. And in the query I am not doing anything about making this a case insensitive search. It turns out that RavenDB always uses an index when you do a query. The Problem Solver - Monday, December 17, 2012 - Who is Improving LINQ to SQL? Plinqo by Code Smith!
A lot of people have lingering doubts about whether to use LINQ to SQL for real-world applications, especially since Microsoft has left it to languish in favor of the new version of the Entity Framework slated for release with.NET 4.0 Nevertheless, I have a consulting client, Credit Solutions , that uses LINQ to SQL for their line-of-business web application and has had a very favorable experience working with it. In addition you’ll get better performance using LINQ to SQL (we’ll see how EF4 compares when it comes out). and Visual Studio 2010. Tony and Zuzana's World - Tuesday, August 4, 2009 - Who is Improving LINQ to SQL? Plinqo by Code Smith!
A lot of people have lingering doubts about whether to use LINQ to SQL for real-world applications, especially since Microsoft has left it to languish in favor of the new version of the Entity Framework slated for release with.NET 4.0 Nevertheless, I have a consulting client that uses LINQ to SQL for their line-of-business web application and has had a very favorable experience working with it. In addition you’ll get better performance using LINQ to SQL (we’ll see how EF4 compares when it comes out). and Visual Studio 2010. file under a common folder. Tony and Zuzana's World - Tuesday, August 4, 2009 - Understanding Map - Reduce
In fact you could easily rewrite this into a LINQ query like this: 1: private static IEnumerable Map(IEnumerable orders). And in fact that is all there is to a Map process, it is just a LINQ select clause. So just as with the Map process we could easily rewrite this as a LINQ group by query like this: 1: private static IEnumerable Reduce(IEnumerable input). So where the Map process is just a LINQ select the Reduce process is just a LINQ group by with the additional collection that the input type is also the output type. Simple right? 10: }. The Problem Solver - Monday, December 3, 2012 - EF4 compared to NHibernate
Last week while teaching my new LINQ and Entity Framework course I got a question asking me to compare EF4 with NHibernate. EF supports LINQ out of the box (NH doesn’t have it yet). EF also allows you to define functions with Entity SQL that are embedded in the entity model, and you can execute queries and commands directly against the database, effectively doing an end-run around EF while mapping the results to entities. Ayende mentions that NH will add LINQ with version 3.0, EF has a good designer (NH doesn’t). EF has much better documentation. Tony and Zuzana's World - Wednesday, January 13, 2010 %>
| | |