Click or drag to resize
Galactic API

MSSqlUtility Class

Provides various utility methods for use with Microsoft SQL databases.
Inheritance Hierarchy

Namespace:  Galactic.Sql.MSSql
Assembly:  Galactic.Sql.MSSql (in Galactic.Sql.MSSql.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public class MSSqlUtility : SqlUtility

The MSSqlUtility type exposes the following members.

Constructors
  NameDescription
Public methodMSSqlUtility
Initializes a new instance of the MSSqlUtility class
Top
Properties
Methods
  NameDescription
Public methodStatic memberBuildConnectionString
Builds a connection string.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecuteNonQuery
Executes the non-query TSQL command provided.
(Overrides SqlUtilityExecuteNonQuery(String, String, EventLog).)
Public methodExecuteNonQuerySQLFile
Executes the SQL statements in a file given its path, and a connection string to the database.
(Inherited from SqlUtility.)
Public methodExecuteQuery
Executes the TSQL query provided.
(Overrides SqlUtilityExecuteQuery(String, String, EventLog).)
Public methodExecuteQuerySQLFile
Executes the SQL query in a file given its path, and a connection string to the database.
(Inherited from SqlUtility.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodLogException
Logs an exception to the event log.
(Inherited from SqlUtility.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRunScript
Runs SQL script files given their path.
(Inherited from SqlUtility.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also