DataPlace
Database Class
CSCS.DataPlace.CommonDatabase
Represents a database on the local system.
Declaration Syntax
C#
public class Database : IDisposable
Members
All MembersConstructorsMethodsPropertiesEvents



IconMemberDescription
Database(Master, Guid)
Creates a new instance.

Database(SynchronizationClient)
Creates a new instance.

AdapterFactory
Adapter factory for use with initializing and creating table adapters.

AddInDataProvider
DataProvider for the AddIns DPAddInDataAddIn. (This will be null until AddIns is created, the first time it is accessed.)

AddIns
DataAddIn containing the addIn definitions for this database.

ApproveUserRequest(DataPlace..::.DPUserRow)
Approves the user request.

CheckDPTableSortKeys()()()
Ensures that the sortkey columns of all DPTable rows are set and contiguous, and sets the default sortkey value for a new row.

ColumnDataProvider
DataProvider for the Columns DPColumnDataTable. (This will be null until Columns is created, the first time it is accessed.)

Columns
DataTable containing the column definitions for all tables in this database.

CreateTable(String, String)
Creates a table by the specified name.

DenyUserRequest(DataPlace..::.DPUserRow)
Denies the user request.

Dispose()()()
Disposes of the object.

Dispose(Boolean)
Disposes of the object.

Disposing
Occurs when the object is being disposed.

Distributions
DataTable defining the distributions.

DistributionsProvider
DataProvider for the DPDistribution table.

DropGroup(String)
Drops the specified group.

DropSecurityRole(String)
Drops the specified security role.

DropSecurityTask(String)
Drops the specified security task.

DropTable(String, ObservableCollection<(Of <(DependencyBase>)>))
Drops the specified table.

DropTable(Guid, ObservableCollection<(Of <(DependencyBase>)>))
Drops the specified table.

DropTable(DataPlace..::.DPTableRow, ObservableCollection<(Of <(DependencyBase>)>))
Drops the specified table.

EncryptionKeys
Table representing the encryption keys installed on the local database.

EncryptionKeysProvider
DataProvider for the AsymmeticKeys asymmetric_keysDataTable. (This will be null until AsymmeticKeys is created, the first time it is accessed.)

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Filters
DataTable defining the filters.

FiltersProvider
DataProvider for the DPFilter table.

Finalize()()()
Finalizes the object.
(Overrides Object.Finalize()()().)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
Groups
DataTable representing the publication group rows for the publication.

GroupsProvider
DataProvider for the Groups DPGroupDataTable. (This will be null until Groups is created, the first time it is accessed.)

IsDisposed
Whether the object has been disposed.

IsDisposing
Whether the object is being disposed.

IsForeignKey(DataPlace..::.DPColumnRow)
Determines whether a DPColumnRow represents a foreign key (PK/FK or lookup) column.

IsHiddenSystemColumn(String)
Determines whether a column name represents a system column that should not be displayed.

IsImage(DataPlace..::.DPColumnRow)
Determines whether a DPColumnRow represents an image column. (This method is only used for backward compatibility. See BinaryContentType.)

IsSystemColumn(String)
Determines whether a column name represents a system column.

IsValidTableName(String, String%)
Determines whether a string is a valid table name, and proposes a different name if not.

LoadFailure
Exception that occured while initializing schema information about this database.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnDisposing(EventArgs)
Raises the Disposing event.

Programmability
DataTable representing the publication programmability rows for this publication.

ProgrammabilityProvider
DataProvider for the Programmability DPProgrammabilityDataTable. (This will be null until Programmability is created, the first time it is accessed.)

PublicationGuid
Publication ID.

Relationships
DataTable defining many-many relationships (not direct FK relationships).

RelationshipsDataProvider
DataProvider for the Relationships DPRelationshipDataTable. (This will be null until Relationships is created, the first time it is accessed.)

RenameTable(DataPlace..::.DPTableRow, String)
Renames a table.

RevokeUser(DataPlace..::.DPUserRow)
Revokes User access.

Security
Gets an object for checking DataRow access permissions.

SecurityMembership
DataTable representing the publication securityMembership rows for this publication.

SecurityMembershipProvider
DataProvider for the SecurityMembership DPSecurityMembershipDataTable. (This will be null until SecurityMembership is created, the first time it is accessed.)

SecurityRole
DataTable representing the publication securityRole rows for this publication.

SecurityRoleProvider
DataProvider for the SecurityRole DPSecurityRoleDataTable. (This will be null until SecurityRole is created, the first time it is accessed.)

SecurityTask
DataTable representing the publication securityTask rows for this publication.

SecurityTaskProvider
DataProvider for the SecurityTask DPSecurityTaskDataTable. (This will be null until SecurityTask is created, the first time it is accessed.)

SecurityTaskRights
DataTable representing the publication securityTaskRights rows for this publication.

SecurityTaskRightsProvider
DataProvider for the SecurityTaskRights DPSecurityTaskRightsDataTable. (This will be null until SecurityTaskRights is created, the first time it is accessed.)

SetLoadFailure(Exception)
Forces a specific load failure on this object.

SyncManager
Object that manages client synchronization.

SystemOptions
SystemOptions table.

SystemOptionsDataProvider
DataProvider for the SystemOptions DPSystemOptions.

TableDataProvider
DataProvider for the Tables DPTableDataTable. (This will be null until Tables is created, the first time it is accessed.)

TableExtensions
Gets an object containing a collection of tables' extended properties.

Tables
DataTable defining the tables in this database.

TableViews
DataTable defining the table views.

TableViewsProvider
DataProvider for the DPTableView table.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
UserGroup
DataTable representing the publication userGroup rows for this publication.

UserGroupProvider
DataProvider for the UserGroup DPUserGroupDataTable. (This will be null until UserGroup is created, the first time it is accessed.)

Users
DataTable representing the publication user rows for this publication.

UsersProvider
DataProvider for the Users DPUserDataTable. (This will be null until Users is created, the first time it is accessed.)

Inheritance Hierarchy
Object
Database

Assembly: CS.DataPlace.Common (Module: CS.DataPlace.Common) Version: 2.0.3271.19817