1 // ============================================== ========================================================== =
2 // Microsoft Data Access Application Block for. NET
3 // http://msdn.microsoft.com/library/en-us/dnbda/html/daab-rm.asp
4 //
5 // SQLHelper. cs
6 //
7 // This file contains the implementations of the SqlHelper and SqlHelperParameterCache
8 // classes.
9 //
10 // For more information see the Data Access Application Block Implementation Overview.
11 // =================================================== ========================================================== =
12 // Release history
13 // VERSION DESCRIPTION
14 // 2.0 Added support for FillDataset, UpdateDataset and "Param" helper methods
15 //
16 // ============================================== ========================================================== =
17 // Copyright (C) 2000-2001 Microsoft Corporation
18 // All rights reserved.
19 // this code and information is provided "as is" WITHOUT WARRANTY
20 // of any kind, either expressed or implied, INCLUDING BUT NOT
21 // limited to the implied warranties of merchantability and/OR
22 // fitness for a participant PURPOSE.
23 // =================================================== ========================================================== =
24
25 using System;
26 using System. Data;
27 using System. Xml;
28 using System. Data. SqlClient;
29 using System. Collections;
30
31 namespace Microsoft. ApplicationBlocks. Data
32 {
33 // <summary>
34 // The SqlHelper class is intended to encapsulate high performance, scalable best practices
35 // common uses of SqlClient
36 /// </summary>
37 public sealed class SqlHelper
38 {
39 & nb