public class PgSqlScript : Devart.Common.DbScript, System.ComponentModel.IComponent, System.IDisposable
'Declaration Public Class PgSqlScript Inherits Devart.Common.DbScript Implements System.ComponentModel.IComponent, System.IDisposable
Often it is necessary to execute several SQL statements one by one. It can be performed by using a lot of components such as PgSqlCommand. Usually it isn't a good solution. With only one PgSqlScript component you can execute several SQL statements as one. This sequence of statements is named script. To separate individual statements use semicolon (;) symbol.
When PgSqlScript encounters a BEGIN keyword in the script, it looks for a slash symbol "/" in the first position of some consecutive line. Everything between the BEGIN and the slash is considered single block. Usually the slash is placed after the line containing END keyword. You do not have to place slash after nested BEGIN...END block.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Devart.Common.DbScript
Devart.Data.PostgreSql.PgSqlScript