Procedures (Repository.Item Schema)

[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]

The Repository.Item schema contains the following procedures.

Procedures

Procedure Description

AddAuditing

Adds auditing support to a target view that follows Modeling Services design patterns. To use this procedure, the Modeling Services database must have been created with auditing enabled.

AddChangeTracking

Enables change tracking on the target view.

AddFolderForeignKey

Adds a foreign key constraint to the [Repository.Item].[FoldersTable] table.

AddStandardPatterns

Adds standard Modeling Services design patterns to a target view and underlying table. This procedure combines calls to several stored procedures related to Modeling Services patterns. These procedures include [Repository].[CreateIdSequence], [Repository.Item].[AddFolderForeignKey], and [Repository.Item].[AddViewsInsteadOfTriggers]. Depending on the installed settings, it also calls the procedures [Repository.Item].[AddAuditing] and [Repository.Item].[AddChangeTracking].

AddViewsInsteadOfTriggers

Adds INSTEAD OF triggers to a target view that make the view updatable. In addition to supporting insert, update, and delete statements, the triggers also provide Folder based security when using the default filters.

BuildChangeScript

Builds a change script from an XML document that describes the changes.

CreateFoldersPath

Creates one or more Modeling Services Folders based on a Folder path.

GrantClaimPermission

Grants a claim permission to perform an operation on a resource.

GrantPrincipalFolderAccess

Grants a principal permission to perform an operation on a Folder resource.

GrantPrincipalPermission

Grants a principal permission to perform an operation on a resource.

RaiseErrorPermissions

Raises a security permissions error.

RemoveOldItems

Removes items from the Modeling Services database that are associated with a specific lifetime policy. This is an internal procedure that is part of lifetime services. It is not meant to be called directly.

RevokeClaimPermission

Revokes a claim permission.

RevokePrincipalFolderAccess

Revokes a claim permission on a specific Folder.

RevokePrincipalPermission

Revokes a claim permission on a resource.

SetLogonSessionsSecurityClaims

Establishes the security claims for a new database session. This is an infrastructure procedure. Do not call this procedure directly.

UncheckedGrantClaimPermission

Grants claim permissions without the normal security checks. This is an infrastructure procedure that should only be called by Modeling Services. Do not call this procedure directly.

Remarks

See Also

Reference

Repository.Item Schema

Send comments about this topic to Microsoft.