Wrox Programmer Forums
|
BOOK: Professional ASP.NET MVC 2
This is the forum to discuss the Wrox book Professional ASP.NET MVC 2 by Jon Galloway, Scott Hanselman, Phil Haack, Scott Guthrie, Rob Conery; ISBN: Professional ASP.NET MVC 2
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET MVC 2 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 27th, 2010, 03:52 AM
Registered User
 
Join Date: Nov 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to do bulk insert?

I am learning to create an application using MVC 2 and Entity Framework 4.

In the application, I read some data from an Oracle database, process them, then save to a SQL 2008 database table. I use Enterprise Library to read from the Oracle DB and put the data in Reader, use Entity Framework 4 to access the SQL DB.

From this book, can't know how to do bulk insert. Can you please give me some guidance on how to pass the dataset to the stored procedure for the bulk insert, and how to call the stored procedure from controller.

Thank you very much in advance
Susan
 
Old December 12th, 2010, 04:26 PM
Registered User
 
Join Date: Dec 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is cmd.ExecuteNonQuery() executed within each iteration ?

increase blog traffic





Similar Threads
Thread Thread Starter Forum Replies Last Post
Bulk Insert snufse SQL Server 2000 9 December 17th, 2007 07:53 AM
BULK INSERT FOR ARRAY MathLearner Beginning VB 6 4 September 28th, 2007 07:18 AM
bulk insert hymavathy_kr VB Databases Basics 1 May 17th, 2007 07:47 AM
Bulk Insert luma SQL Server DTS 1 July 13th, 2005 01:48 AM
Bulk insert deyakhatib SQL Server 2000 6 March 4th, 2004 04:09 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.