[This is preliminary documentation and is subject to change.]

The OemDB type exposes the following members.

Constructors

  NameDescription
Public methodOemDB

Methods

  NameDescription
Public methodAddOutputParameterOverloaded.
Public methodAddParameterOverloaded.
Protected methodAddParametersOverloaded.
Public methodAnyGroups
Checks up if there are any groups in the OfficeClip system.
Public methodClearParameters
Clear all the sql stored procedure parameters
(Inherited from OfficeClipDB.)
Public methodClose
Close the connection, data adapter and the command
(Inherited from OfficeClipDB.)
Public methodCommit
Commits the transaction
(Inherited from OfficeClipDB.)
Public methodDdiff
Gets the difference between the expiry DateTime in the license and Current DateTime.
Public methodDeleteLoginParameters
Deletes the login parameters
Public methodDispose
disposes the object for garbage collection
(Inherited from OfficeClipDB.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodExecuteNonQueryOverloaded.
Protected methodExecuteReader
Executes the sql datareader
(Inherited from OfficeClipDB.)
Protected methodExecuteScalar
Executes the query that returns a single valur
(Inherited from OfficeClipDB.)
Protected methodFill
Fills the dataset
(Inherited from OfficeClipDB.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetDatabaseVersionNumber
Gets the database Version from the database.
Public methodGetGroupsCount
Get the count of the total users
Public methodGetHashCode
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodGetLoginParameters
Gets the login parameters
Public methodGetParameterCount
Gets the parameter count
(Inherited from OfficeClipDB.)
Public methodGetParameterValue
Gets the value of the parameter
(Inherited from OfficeClipDB.)
Public methodGetSqlServerVersion
Gets the Sql Server version number.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUsersCount
Get the count of the total users
Protected methodInit
Initialize the connection parameters
(Inherited from OfficeClipDB.)
Public methodInitTransactionOverloaded.
Public methodIsLicenseTimeLimitValid
Checks if the license time limit is valid
Public methodIsLicenseUserLimitValid
Checks if the license user limit is valid
Public methodIsOCSysAdmin
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNewLicense
Updates the new license.
Public methodRollback
Rolls back the transaction
(Inherited from OfficeClipDB.)
Public methodSetParameterValue
Sets the parameter value of the sql parameter to a known value
(Inherited from OfficeClipDB.)
Protected methodSetSPCommandOverloaded.
Protected methodSetSPDataAdapter
Sets the stored procedure data adapter
(Inherited from OfficeClipDB.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodUdiff
Gets the difference between the number of users licensed in license file and Current number of users in the OfficeClip System.
Public methodUpdateLdapAccountName
Updates the LDAP Account Name corresponding to a user identified by the userId.
Public methodUpdateLoginParameters
Updates the login parameters
Public methodUpddiff
Gets the difference between the upgrade Limit DateTime in the license and Current DateTime.
Public methodUpdSiteAdministratorPassword
Updates the site administrator's password into the database.
Public methodValidateSiteAdministrator
Validate the site administrator, Checks up the following with regards to the site administrator password
  • Whether is password is set in the database
  • Whether the password validation succeeded
This function also encrypts the administrator's password and stores it in the database
Public methodValidateVersionNumber
Validates the Version number from the Constants file and the one in the database.

Properties

  NameDescription
Public propertyConnectionString
Gets the OfficeClip.DBLayer.ConnectionString property encapsulates a callout to the ASP+ Config System to obtain the database connection string for the application.
(Inherited from OfficeClipDB.)
Protected propertyDBConnString
The database connection string that is only available within the framework of the DBLayer. This should only be set through a constructor so this is not available outside the DBLayer. A default conection string is assumed if not set.
(Inherited from OfficeClipDB.)

See Also