Table of Contents

Class ExtraDatabaseAttribute

Namespace
CMS.Tests
Assembly
CMS.Tests.dll

Provides an extra database within the given test The extra database can be use by a block of code using method ExecuteWithExtraDatabase You can alternatively use method EnsureExtraDatabase(string, bool) to initialize an extra database on-the-fly

[AttributeUsage(AttributeTargets.Class)]
public sealed class ExtraDatabaseAttribute : Attribute
Inheritance
object
Attribute
ExtraDatabaseAttribute
Extension Methods

Constructors

ExtraDatabaseAttribute(string)

Constructor

public ExtraDatabaseAttribute(string name)

Parameters

name string

Database name

Properties

Name

Database name

public string Name { get; }

Property Value

string