[This is preliminary documentation and is subject to change.]
The ResourcesDB type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | ResourcesDB |
Methods
Name | Description | |
---|---|---|
![]() | AddOutputParameter | Overloaded. |
![]() | AddParameter | Overloaded. |
![]() | AddParameters | Overloaded. |
![]() | ClearParameters |
Clear all the sql stored procedure parameters
(Inherited from OfficeClipDB.) |
![]() | Close |
Close the connection, data adapter and the command
(Inherited from OfficeClipDB.) |
![]() | Commit |
Commits the transaction
(Inherited from OfficeClipDB.) |
![]() | DeleteCalendarReservation |
Deletes a reservation corresponding to an event in the calendar application.
|
![]() | DeleteResource |
Marks the resource as deleted so that new future
reservations can be created for this particular
resource, but the existing reservations refering to
this resource will not be affected.
|
![]() | DeleteResourceType |
If unused, deletes specified resource
|
![]() | Dispose |
disposes the object for garbage collection
(Inherited from OfficeClipDB.) |
![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | ExecuteNonQuery | Overloaded. |
![]() | ExecuteReader |
Executes the sql datareader
(Inherited from OfficeClipDB.) |
![]() | ExecuteScalar |
Executes the query that returns a single valur
(Inherited from OfficeClipDB.) |
![]() | Fill |
Fills the dataset
(Inherited from OfficeClipDB.) |
![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetAllResources |
Gets all the information for all the resources belonging to the currently selected group
and visible to the currently logged in user.
|
![]() | GetCalendarResources |
Gets all the resources available to a particular user.
|
![]() | GetHashCode | 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.) |
![]() | GetParameterCount |
Gets the parameter count
(Inherited from OfficeClipDB.) |
![]() | GetParameterValue |
Gets the value of the parameter
(Inherited from OfficeClipDB.) |
![]() | GetResourceAccessList |
Gets a list of groups which have access to a particular resource belonging to the currently logged in user.
|
![]() | GetResourceInfo |
Gets all the information related to a particular resource identified by the resourceId.
|
![]() | GetResourceNoAccessList |
Gets a list of groups which do not have access to a particular resource belonging to the currently logged in user.
|
![]() | GetResourceTypes |
Gets all the resources available to the currently logged in user.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GrantResourceAccess |
Grants access to a particular group to a resource.
|
![]() | Init |
Initialize the connection parameters
(Inherited from OfficeClipDB.) |
![]() | InitTransaction | Overloaded. |
![]() | InsertCalendarReservation |
Inserts a reservation corresponding to an event in the calendar application.
|
![]() | InsertReservation |
Inserts a new reservation into the database.
|
![]() | InsertResource |
Inserts a resource for a particular group and its related information into the database.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RevokeResourceAccess |
Revokes a particular group's access to a resource.
|
![]() | Rollback |
Rolls back the transaction
(Inherited from OfficeClipDB.) |
![]() | SetParameterValue |
Sets the parameter value of the sql parameter to a known value
(Inherited from OfficeClipDB.) |
![]() | SetSPCommand | Overloaded. |
![]() | SetSPDataAdapter |
Sets the stored procedure data adapter
(Inherited from OfficeClipDB.) |
![]() | ToString | Returns a String that represents the current Object. (Inherited from Object.) |
![]() | UpdateCalendarReservation |
Updates all the reservation information into the database.
|
![]() | UpdateResource |
Updates all the information related to the resource into the database.
|
Properties
Name | Description | |
---|---|---|
![]() | ConnectionString |
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.) |
![]() | DBConnString |
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.) |