View Source
Interface IUmbracoDatabase
Assembly: Umbraco.Infrastructure.dll
Syntax
public interface IUmbracoDatabase
Properties
View Source
EnableSqlCount
Declaration
bool EnableSqlCount { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
View Source
InstanceId
Gets the database instance unique identifier as a string.
Declaration
string InstanceId { get; }
Property Value
| Type |
Description |
| System.String |
|
View Source
InTransaction
Gets a value indicating whether the database is currently in a transaction.
Declaration
bool InTransaction { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
View Source
SqlContext
Declaration
ISqlContext SqlContext { get; }
Property Value
View Source
SqlCount
Declaration
Property Value
| Type |
Description |
| System.Int32 |
|
Methods
View Source
BulkInsertRecords<T>(IEnumerable<T>)
Declaration
int BulkInsertRecords<T>(IEnumerable<T> records)
Parameters
| Type |
Name |
Description |
| IEnumerable<T> |
records |
|
Returns
| Type |
Description |
| System.Int32 |
|
Type Parameters
View Source
IsUmbracoInstalled()
Declaration
bool IsUmbracoInstalled()
Returns
| Type |
Description |
| System.Boolean |
|
View Source
ValidateSchema()
Declaration
DatabaseSchemaResult ValidateSchema()
Returns