Stories recently tagged with 'LINQ'

How to use Stored Procedure with DataContext in LINQ-CodeGain(www.codegain.com)

submitted by codegaincodegain(2794) 1 year, 4 months ago

In this article I will show, how to use the Stored Procedure with DataContext in LINQ to retrieve records from database. The Stored Procedure is most supportive to data driven application to manage performance and keep secured data retrieval. read more...

add a comment |category: |Views: 13

tags: another

How to Improve LINQ to SQL Performance with Complied Query-CodeGain(www.codegain.com)

submitted by codegaincodegain(2794) 1 year, 4 months ago

In this article I will explain how to improve LINQ to SQL query performance with Complied Query. There may be scenario where we need to execute a particular query many times and repeatedly. LINQ allows us to make this task very easy by enabling us to create a query and make it complied always. We call this type of query as complied query. read more...

add a comment |category: |Views: 9

tags: another

Learn SQL to LINQ ( Visual Representation ) with Examples-CodeGain(www.codegain.com)

submitted by codegaincodegain(2794) 1 year, 4 months ago

Now a days most of the developers are moving towards new LINQ to SQL they find difficult to write down SQL query in C# to query data using LINQ. LINQ is a query language which get integrated in C# to query data form ObjectCollects, SQL, XML etc. read more...

add a comment |category: |Views: 10

tags: another

Increase Query Performance with Read-Only Data in LINQ (www.codegain.com)

submitted by codegaincodegain(2794) 1 year, 4 months ago

By default CRUD operation can be performed on the retrieved data from LINQ query. We can modify the data fetched through LINQ query.IF we do not want to modify the data then we can increase the performance by making the data as READ ONLY. read more...

add a comment |category: |Views: 9

tags: another

How to use Distinct operator in LINQ-CodeGain(www.codegain.com)

submitted by codegaincodegain(2794) 1 year, 4 months ago

Linq operator provides great flexibility and easy way of coding. Let’s again take one more example of distinct operator. As name suggest it will find the distinct elements from IEnumerable. Let’s take an example of array in console application and then we will again print array to see is it working or not read more...

add a comment |category: |Views: 4

tags: another

Distinct operator in Linq(jalpesh.blogspot.com)

submitted by jalpeshjalpesh(1347) 1 year, 4 months ago

Linq operator provides great flexibility and easy way of coding. Let’s again take one more example of distinct operator. As name suggest it will find the distinct elements from IEnumerable. Let’s take an example of array in console application and then we will again print array to see is it working or not. Below is the code for that. In this application I have integer array which contains duplicate elements and then I will apply distinct operator to this and then I will print again result of distinct ope... read more...

add a comment |category: |Views: 7

tags: another

Introducing ActionLinq(houseofbilz.com)

submitted by BrianGenisioBrianGenisio(1000) 1 year, 4 months ago

I am excited to release a pet project of mine that I have been developing for a few months. ActionLinq is a complete LINQ-to-Objects implementation for ActionScript 3.0. Including the same deferred execution behavior as LINQ, ActionLinq is a functional query library designed to process and manipulate data in ActionScript 3.0. It is especially useful for processing data received from web services and manipulating it to fit into the view. read more...

add a comment |category: |Views: 6

tags: another

FromCache now supports local collections(petemontgomery.wordpress.com)

submitted by sumothecatsumothecat(100) 1 year, 4 months ago

LINQ to SQL has always supported the Contains method, and Entity Framework now supports both Any and Contains overloads with local collections. The popular IQueryable.FromCache extension method now supports local collections. read more...

add a comment |category: |Views: 3

tags: another

LINQ to SQL vs. ADO.NET Entity Framework (ramanisandeep.wordpress.com)

submitted by sandy060583sandy060583(135) 1 year, 5 months ago

Hi all, recently I was surfing MSDN forum & reading discussion on "Linq to SQL vs ADO.NET Entity Framework". There I have found very good conversations between Michael Pizzo and Kavin Hoffman on the above given topic, so I feel why not share this information to my readers also. read more...

add a comment |category: |Views: 24

tags: another

Introduction to LINQ and Lambda Expressions with Examples-Tutorial(www.codegain.com)

submitted by codegaincodegain(2794) 1 year, 5 months ago

In this tutorial I will explain all about Language Integrated Query (LINQ) and Lambda Expression basic with examples. The Language Integrated Query (LINQ) is powerful query language in .NET and we can use the Language Integrated Query (LINQ) to query to Object Collection, XML expression and more. read more...

add a comment |category: |Views: 46

tags: another

Using Lambda for Sorting in C# .NET(www.dzone.com)

submitted by bungleboozbunglebooz(1132) 1 year, 5 months ago

Here’s a quick little tidbit that helped me this week. While writing a C# Windows application I found myself with a List of objects that did not implement a comparator interface. Because of this when I tried to call mylist.Sort() I got an error complaining about how it couldn’t compare the two objects. read more...

add a comment |category: |Views: 12

tags: another

Linq and XML(www.i-programmer.info)

submitted by mikejmikej(661) 1 year, 5 months ago

XML, which is all about tree structures, and Linq, which is all about querying collections, might not seem to fit together but they work together just fine. read more...

add a comment |category: |Views: 10

tags: another

GUID Vs Int data type as primary key(jalpesh.blogspot.com)

submitted by jalpeshjalpesh(1347) 1 year, 5 months ago

Recently one of my friend ask me when I should go for GUID and When I should go for Int as primary key in table. So decided blog post for that. Here are advantages and disadvantage of the GUID and INT. INT Data Type: Advantages:Its required small space in terms of the storage it will only allocates 4 bytes to store data. Insert and update performance will be faster then the GUID. It will increase the performance of the application. Easy to index and Join will give best performance with the integer. E.. read more...

add a comment |category: |Views: 13

tags: another

LINQ Enumerable Class Methods with Examples(programming.top54u.com)

submitted by coolcodecoolcode(105) 1 year, 6 months ago

The System.Linq.Enumerable class provides a set of static methods which enable to query objects that implement IEnumerable<T>. The methods of LINQ enumerable class allow to implement the standard query operators over the data source that follow the LINQ pattern at the back end. You can easily implement the LINQ based traversal, filter, and projection over the data source sequence using these standard query operator methods. read more...

add a comment |category: |Views: 15

tags: another

Introduction to the SPLinq in SharePoint2010(www.codegain.com)

submitted by codegaincodegain(2794) 1 year, 6 months ago

In this article, we will see how to work with LINQ to SharePoint. I have tried to address all the common errors we encounter when first time we start using LINQ against SharePoint. read more...

add a comment |category: |Views: 13

tags: another

A LINQ Style Operator to Combine Sequences(www.blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4212) 1 year, 6 months ago

In some situations it is necessary to combine two sequences of values, item-by-item, into a new enumerable sequence or collection. This article describes how to create an extension method that achieves this using generics. read more...

add a comment |category: |Views: 5

tags: another