using System.Collections.Generic;
using NPoco;
namespace Umbraco.Core.Persistence
{
public interface IUmbracoDatabase : IDatabase
{
///
/// Gets the Sql context.
///
ISqlContext SqlContext { get; }
///
/// Gets the database instance unique identifier as a string.
///
/// UmbracoDatabase returns the first eight digits of its unique Guid and, in some
/// debug mode, the underlying database connection identifier (if any).
string InstanceId { get; }
///
/// Gets a value indicating whether the database is currently in a transaction.
///
bool InTransaction { get; }
bool EnableSqlCount { get; set; }
int SqlCount { get; }
int BulkInsertRecords(IEnumerable records);
}
}