FillDataset replacement when upgrading from 2.0 to 5.0

Topics: Data Access Application Block
Aug 22, 2011 at 2:40 AM

Hi Benjamin,

That methodology is called Parameter Discovery. It is still on the Enterprise Library 5.0. Here is a sample code (in C#) on how to achieve that:

string sql = "UpdateProduct";
DbCommand cmd = db.GetStoredProcCommand(sql, 11, "Queso Cabrales", 4, 25);

 For more details, kindly refer here

 

Noel Angelo Bolasoc
Global Technologies and Solutions
Avanade, Inc.
Contact Us