Click or drag to resize
Galactic API

SqlUtility Class

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

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

The SqlUtility type exposes the following members.

Constructors
  NameDescription
Protected methodSqlUtility
Initializes a new instance of the SqlUtility class
Top
Properties
  NameDescription
Public propertyMAX_NCHAR_LENGTH
The maximum length of a NCHAR field in the database.
Public propertyMAX_NVARCHAR_LENGTH
The maximum length of a NVARCHAR field in the database.
Public propertyMAX_VARCHAR_LENGTH
The maximum length of a VARCHAR field in the database.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecuteNonQuery
Executes the non-query SQL command provided.
Public methodExecuteNonQuerySQLFile
Executes the SQL statements in a file given its path, and a connection string to the database.
Public methodExecuteQuery
Executes the SQL query provided.
Public methodExecuteQuerySQLFile
Executes the SQL query in a file given its path, and a connection string to the database.
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.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRunScript
Runs SQL script files given their path.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also