score:0
If one wants to use LINQ to SQL for RDBMS other than Microsoft SQL Server, a third-party assembly is required. DBLinq is a project that provides LINQ to SQL functionality for other (open-source) databases.
http://code.google.com/p/dblinq2007/
Npgsql can be configured as a db provider for Entity Framework following the documentation on this Npgsql blog:
http://npgsql.com/index.php/2009/08/how-to-set-up-entity-framework-npgsql-part-1/
score:2
DataContext
DataContext is LinqToSql. LinqToSql is for SqlServer only.
Perhaps you meant to use LinqToEntities and ObjectContext?
Source: stackoverflow.com
Related Query
- npgsql LINQ creates SQL Server sql syntax
- Accessing SQL Server time in code with LINQ
- Need Help Translating SQL Server UNION Syntax to LINQ
- Translate SQL SERVER SELECT to LINQ with multiple join Method Syntax
- What can I do to resolve a "Row not found or changed" Exception in LINQ to SQL on a SQL Server Compact Edition Database?
- How are people unit testing code that uses Linq to SQL
- How to Connect to SQL Server using LINQ to SQL?
- Syntax to execute code block inside Linq query?
- C#, EF & LINQ : slow at inserting large (7Mb) records into SQL Server
- NHibernate Linq Group By fails to group properly in SQL Server
- Ignoring accents in SQL Server using LINQ to SQL
- SQL Query to LINQ syntax using not exist and join
- Check LINQ query against SQL Server database
- Which versions of SQL Server does LINQ to SQL support?
- Do linq generated queries get cached effectively by SQL Server 2008?
- Order by (asc|desc) in linq to SQL Server handles DateTime differently
- LINQ Source Code Available
- Is it possible to automatically prefix all table names in SQL Server and in LINQ to SQL?
- Linq with optional Where clauses and Sql Server CE
- Emulating SQL Server 2012 Lag Window function with LINQ
- SQL ROW_NUMBER() in LINQ Query Syntax
- Entity Framework: LINQ query generates different SQL between local execution and server execution
- How do i prevent Linq from adding a GUID so that SQL server can do it?
- How to code the partial extensions that Linq to SQL autogenerates?
- One to one relationship in Sql Server and LINQ
- Can you use LINQ with in memory objects rather than SQL Server queries to improve performance?
- Determine the source DataContext for a Linq to Sql query
- SQL Server 2008 vs 2005 Linq integration
- Timeout Exception in SQL Server using via LINQ Query
- Using linq to query SQL Server is causing 100s of small queries
More Query from same tag
- How can I databind to an asp.net treeview using linq to entities?
- Fastest way to fill DataTable from LINQ query using DataContext
- How sort generic list like datatable in c#
- Dynamic Grouping Using LINQ
- Dynamic Linq Sort not working for ArrayList
- EF does not include where clause
- Subobject collection as columns in a variable columns table
- LINQ - Simulating multiple columns in IN clausule
- Whats the proper way to check to see if an entry in a db table is null?
- Using LINQ to perform LEFT JOIN between datatable and submitted array
- LINQ query not grouping properly
- How to find hidden columns in Telerik Radgridview using Linq expression
- Function to calculate Weighted Average by two keys is elusive
- How to prevent overlapping events using Linq + Entity Framework
- Is there a clever way to call a type dependent extension method dynamically?
- LINQ - convert select sum to a groupby sum
- LINQ To Entity - LINQ to Entities does not recognize the method 'Double Parse(System.String)' method
- How to select the max date from table in c# linq query
- Dynamic LINQ with direct user input, any dangers?
- LINQ expression to get child records with unique parent
- The group by operation contains an expression that cannot be translated
- Linq strategy for complex set
- convert List<DataRow> to List<UserEntity> in C#.net
- How do I prevent multiple results when condition is null for a LINQ query?
- Unflattening a data structure with LINQ
- How do I move items from a list to another list in C#?
- Why can't I use .Any()?
- "Sequence contains no matching element " instead of just null
- Unable to cast object of type 'System.Data.Linq.DataQuery`1[System.Int32]' to type 'System.IConvertible'
- Why isn't this short circuit is not working in linq to sql query?