Show / Hide Table of Contents

SqlHelper Constructor

Creates a new instance of SqlHelper with optional initialization parameters

Overload List

Overload Description
SqlHelper Constructor() Creates a new instance of SqlHelper using the default DbProvider instance  
SqlHelper Constructor(DbProvider) Creates a new instance of SqlHelper with the specified DbProvider instance  
SqlHelper Constructor(String) Creates a new instance of SqlHelper using the specified command text (SQL statement) with the CommandType set to Text  
SqlHelper Constructor(CommandType,String) Creates a new instance of SqlHelper with the specified CommandType and command text (SQL statement)  
SqlHelper Constructor(DbProvider,String) Creates a new instance of SqlHelper using the specified DbProvider instance and command text (SQL statement) and the CommandType set to Text  
SqlHelper Constructor(DbProvider,CommandType,String) Creates a new instance of SqlHelper with the specified DbProvider instance, CommandType and command text (SQL statement)  

Remarks

All of the optional arguments passed into the constructor can be changed later using the similarly named properties on the SqlHelper instance. These constructor overloads are provided simply for convenience.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family

Reference

SqlHelper Class
SqlHelper Members

Back to top © 2022 Dovetail Software, Inc. - All rights reserved.
Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
.NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.