Browse by Tags

Related Posts

  • Re: Where to place DataContext?

    The normal thing to do would be to create a new data context whenever you need one. You cannot persist one between submissions of a page in anycase. When you do a query on a data context that query is in fact run by the table object which will make a connection to the database as needed. If you query...
    Posted to Data Access and ObjectDataSource Control (Forum) by JohnThompson on 04-08-2009, 12:00 AM
    Filed under: DataContext, Linq
  • Unable to build LINQ to SQL entity in Visual Studio 2008 sp1

    When I drag a table from the server explorer onto the OR designer I get the error message "The selected object(s) use an unsupported data provider" I upgraded my visual studio 2008 version to the SP1 version and my database provider is sql server 2008 (my hosting service) but i'm still...
    Posted to Visual Studio 2008 (Forum) by mkatakiti on 12-16-2008, 12:00 AM
    Filed under: Server 2008, Service Pack 1 Fatal Error during installation, sql, Viisual Studio 2008, .net framework 3.5, asP.NET 3.5 linq, ASP.NET 3.5, DataContext, Frameowrk 3.5, linq liqdatasource, Linq to Objects, linq to sql, Linq Update Database, linq, SP1
  • System.Data.Linq.DataContext.SubmitChanges doesn't work for certain tables; no exceptions are thrown. looks like a bug

    well, these are the tables I'm talking about: when I create a new wc_order and submitchanges everything works perfec and the row is committed to the server. but when I create a new wc_order_product_map entity and I do the same in the wc_order_product_map and then do SubmitCanges it doesn't work...
    Posted to SQL Server, SQL Server Express, and SqlDataSource Control (Forum) by Weitzhandler on 08-07-2008, 12:00 AM
    Filed under: sql server 2008, submitchanges, asp.net 3.5, datacontext, .net 3.5, linq to sql, Linq, vb.net
  • LINQ to SQL Forum?

    Is there an official forum to discuss LINQ? Is this the right place? I've decided to dive in and play around with LINQ and I haven't been able to find much documentation as of yet and I'm coming up with several questions. I'm especially interested in using LINQ in BLL classes and what...
    Posted to Data Presentation Controls (Forum) by cyzfitz on 12-04-2007, 12:00 AM
    Filed under: Visual Studio 2008 LINQ to SQL, .NET 3.5, 3.5, ASP.NET 3.5, DataContext, linq to sql, linq
  • LinqDataSource and connection information

    I want to use the new LinqDataSource in one of my .NET 3.5 test applications. But I need the application to grab the connection information from the Web.config. My DAL is separate from the ASP.NET application so for obvious reasons putting the connectionstring in the DataContext is out of the question...
    Posted to Blinq Preview (Forum) by sparrez on 09-27-2007, 12:00 AM
    Filed under: ConnectionString, LinqDataSource, linq, DataContext
  • Re: Linq and Transactions

    Take a look at my article on CodeProject or on my Blog. I have created a Linq DataContext class that makes setting Transaction levels a snap. http://www.codeproject.com/KB/linq/DataContextTransactions.aspx http://ablogonbothyourhouses.blogspot.com/
    Posted to Data Access and ObjectDataSource Control (Forum) by Michael.Piccolo on 04-04-2008, 12:00 AM
    Filed under: Transactions, DataContext, Linq
Page 1 of 1 (6 items)