DbUserMode Class

Summary

This enum specifies what user mode the database should be in
Assembly
Cake.SqlServer.dll
Namespace
Cake.SqlServer
Base Types
  • Enum
graph BT Type-->Base0["Enum"] Type["DbUserMode"] class Type type-node

Syntax

public sealed class DbUserMode : Enum

Fields

Name Constant Value Summary
MultiUser 0
This is the default database user access mode. In this database user access mode any user who have permission to access the database can access the database.
static
RestrictedUser 2
In this user mode only the users who have db_owner or db_creator permission can access.
static
SingleUser 1
In this user mode at any given point of time only one user can access the database. The user can be any user who has access to the database.
static
value__

Extension Methods

Name Value Summary
Dump<DbUserMode>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<DbUserMode>(DbUserMode[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<DbUserMode>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<DbUserMode>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<DbUserMode>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<DbUserMode>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin