score:3
Accepted answer
Dim query = (From st In db.Students _
Where (st.FirstName.StartsWith(firstname)) _
Select st).ToList()
Source: stackoverflow.com
Related Query
- LINQ Source Code Available
- creating Linq to sqlite dbml from DbLinq source code
- source code for LINQ 101 samples
- c# Linq or code to extract groups from a single list of source data
- Getting InvalidCastException when trying to implement sorting in Entity Framework Code First using Linq
- Convert string[] to int[] in one line of code using LINQ
- Code equivalent to the 'let' keyword in chained LINQ extension method calls
- Linq code to select one item
- How are people unit testing code that uses Linq to SQL
- LINQ query to perform a projection, skipping or wrapping exceptions where source throws on IEnumerable.GetNext()
- Syntax to execute code block inside Linq query?
- InvalidCastException in a LINQ query
- Enumerable.Empty<T>().AsQueryable(); This method supports the LINQ to Entities infrastructure and is not intended to be used directly from your code
- Periodic InvalidCastException and "The server failed to resume the transaction" with Linq
- Best open source LINQ provider
- Is there a good source that gives an overview of linq optimizations?
- Does this LINQ code perform multiple lookups on the original data?
- How to understand the following C# linq code of implementing the algorithm to return all combinations of k elements from n
- LINQ WHERE method alters source collection
- Where can I view LINQ source code?
- Suggestions for designing complex LINQ code
- Is there any way to create a LINQ query as a variable without having the data source (yet)?
- Left outer join using LINQ -- understanding the code
- How to pass LinQ Expressions from F# to C# code
- How to reuse a linq expression for 'Where' when using multiple source tables
- Avoiding code repetition when using LINQ
- Using LINQ to delete an element from a ObservableCollection Source
- How does linq actually execute the code to retrieve data from the data source?
- How can I switch that code to use LINQ
- How does this linq code that splits a sequence work?
More Query from same tag
- Is there a way to re-use a LINQ statement, but alter the property and method being called on that property?
- Linq query taking too long to process results
- Asp.Net Mvc Entity Framework Deserialized object Linq query null object
- Linq Expression Building Incorrect number of parameters supplied for lambda declaration
- Why am I getting InvalidCastException?
- Pass multiple parameters to call stored procedure with LINQ
- How to compare two list values and round them to first list values without adding them internally
- C# Filtering collections through extended functions
- What parameters do I need to put into InsertOnSubmit(...) if one or more of my columns is an identity column?
- Entity Framework/Linq EXpression converting from string to int
- What does the code query.Take(() => 1) do?
- Do Go generics allow for a LINQ to Objects equivalent?
- Using LINQ To Select Records Based on Child Collections item
- LinqToExcel dot in header
- Linq query to order list by occurences of foreign key in another list
- How to pass two LINQ joined tables from Controller to View
- How to distribute an array to smaller arrays randomly?
- How can I improve LINQ?
- C# - MongoDB Linq Query failing with embedded document interface
- Filter out oldest item when items have the same name
- Get default value from a select in a query
- Trying to figure out how to format what my linq statement returns
- how to use linq with two related entities?
- Linq: Explicit construction of entity type in query is not allowed
- Split an IEnumerable<T> into fixed-sized chunks (return an IEnumerable<IEnumerable<T>> where the inner sequences are of fixed length)
- Group by and select in Enity Framework Core
- linq way to insert element in order
- mvc orderby<.IorderedEnumerable> error
- Displaying sequence numbers for the records in the DataTable and data binding is done through LINQ
- How to Convert Row to Column in Linq and SQL