Click or drag to resize
SqlBatchWriter Class
Class for building a large string of SQL which will be sent to the database in batches for execution using the ApplySQL action
Inheritance Hierarchy
SystemObject
  Innovator.ClientSqlBatchWriter

Namespace: Innovator.Client
Assembly: Innovator.Client (in Innovator.Client.dll) Version: 2016.1.15.1759 (2016.01.15.1759)
Syntax
public class SqlBatchWriter : IDisposable

The SqlBatchWriter type exposes the following members.

Constructors
  NameDescription
Public methodSqlBatchWriter(IConnection)
Instantiate the writer with a connection
Public methodSqlBatchWriter(IConnection, Int32)
Instantiate the writer with a connection and an initial capacity for the internal StringBuilder
Top
Properties
  NameDescription
Public propertyThreshold
Nuumber of commands at which to send the query to the database
Top
Methods
  NameDescription
Public methodCommand
Append a new line (empty command) to the SQL
Public methodCommand(String)
Append the specified command to the SQL
Public methodCommand(String, Object)
Append the specified command with parameters the SQL. @# (e.g. @0) style parameters are replaced
Public methodDispose
Send the current buffer to the database
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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 methodFlush
Send the current buffer to the database
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 methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPart(String)
Append a part of a command to the SQL
Public methodPart(String, Object)
Append a part of a command with parameters the SQL. @# (e.g. @0) style parameters are replaced
Public methodToString
Render the current buffer to a string
(Overrides ObjectToString.)
Top
See Also