Hide

YetaWF.DataProvider.PostgreSQL Package Documentation

Display
Print

YetaWF.DataProvider.PostgreSQL.SQLPackageInit Class

Base class to implement executing all SQL procedures that are located in a package's Addons/_Main/Sql folder.

This is used to execute SQL procedures that are located in a package's Addons/_Main/Sql folder.

Can be used to create tables, add stored procedures, etc.

All files in the package's Addons/_Main/Sql folder with the extension .pgsql are executed when package models are installed.

Namespace: YetaWF.DataProvider.PostgreSQL
Assembly: YetaWF.DataProvider.PostgreSQL

Inheritance

Syntax

public abstract class SQLPackageInit : System.IDisposable,
    YetaWF.Core.IO.IInstallableModel;

Constructors

This class cannot be instantiated.

Methods

PublicAddSiteDataAsyncAdds data for a new site.
PublicDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
PublicInherited from System.ObjectEqualsDetermines whether the specified object is equal to the current object.
PublicExportChunkAsyncExports data from the data provider.
ProtectedInherited from System.ObjectFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
PublicInherited from System.ObjectGetHashCodeServes as the default hash function.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
PublicImportChunkAsyncImports data into the data provider.
PublicInitializeAsyncExecutes all SQL procedures that are located in the package's Addons/_Main/Sql folder. This is typically used to add/update database views, stored procs, etc.
PublicInstallModelAsyncInstalls all data models (files, tables, etc.) for the data provider.
PublicIsInstalledAsyncReturns whether the data provider is installed and available.
PublicLocalizeModelAsyncCalled to translate the data managed by the data provider to another language.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicRemoveSiteDataAsyncRemoves data when a site is deleted.
PublicInherited from System.ObjectToStringReturns a string that represents the current object.
PublicUninstallModelAsyncUninstalls all data models (files, tables, etc.) for the data provider.

See Also YetaWF.DataProvider.PostgreSQLYetaWF.Core