i m using stored procedure in linq to sql to insert data into two tables.input parameters for sp are subject to two tables and my sp is handling all about inserting in both the tables.question is that
first of all, my background is: pretty large database (~100 tables with ~10-20 columns each) on MS SQL Server and it\'s always gonna be SQL Server and database first.
Using LINQ, how do I insert a null value into a SQL Server 2008 DateTime column? The code below inserts \"1/1/1900 12:00:00 AM\",
I want to get the la开发者_StackOverflow社区st entry into the database, I usually used SCOPE_IDENTITY() in ado.net to get the last created id, but how to achieve that in Linq-to-SQL or Linq-to-Entitie
This might be one of those situations where plain SQL commands are better than LINQ. Here\'s a simplified version of the SQL statement I\'m trying to translate:
I\'m trying to implement a simple login for admin in a MVC3 project. I\'m new to ASP.NET and to MVC3. I have googled and asked questions! have seen a lot of really nice ways of implementing this but t
I have the following p开发者_运维百科roblem: In our database we record helpdesk tickets and we book hours under tickets. Between those is a visit report. So it is: ticket => visitreport => hours.
I\'m getting this error: The model item passed into the dictionary is of type System.Data.Entity.Infrastructure.DbQuery``1[<>f__AnonymousType1``2[System.DateTime,System.Int32]], but this dictio
Can someone tell me why the following code is n开发者_开发问答ot updating StudentIDs in LINQPad?
I am trying to add a new comment to a comment table but all records in the table are being deleted with the exception of the one I added.