IProcedure

Assembly: Db;

Namespace: Prognoz.Platform.Interop.Db;

Description

The IProcedure interface contains properties and methods of the Procedure repository object.

Inheritance Hierarchy

          ISQLCommand

          IProcedure

Comments

When a new procedure is created, to ensure its correct work, determine the following minimum set of properties in the settings:

Properties

  Property name Brief description
The External property returns whether the procedure is external.
The ForceCreate property determines whether it is possible to create incorrect procedure.
The Kind property determines the type of created object: function or procedure.
The NativeName property determines a physical name of procedure in a database.

Properties inherited from ISQLCommand

  Property name Brief description
Database The Database property determines the database, in which DBMS command is stored.
Text The Text property determines the text of SQL query for certain DBMS driver.

Methods

  Method name Brief description
The AlterProcedure method updates the procedure text in a database according to the procedure text in repository.
The AttachProcedure method updates information about procedure structure in repository, according to procedure structure on a DB server.
The CreateProcedure method creates a procedure in the database on the basis of available metadata.
The DropProcedure method removes a procedure from database on server.
The Refresh method completes the update by saving all changes.
The UpdateProcedure method updates the structure of procedure on a database server according to structure of current procedure.

Methods inherited from ISQLCommand

  Method name Brief description
ClearText The ClearText method clears the operator of DBMS command.

See also:

Db Assembly Interfaces