forked from dotnet/efcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSQLiteDatabase.cs
More file actions
29 lines (26 loc) · 1013 Bytes
/
Copy pathSQLiteDatabase.cs
File metadata and controls
29 lines (26 loc) · 1013 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using JetBrains.Annotations;
using Microsoft.Data.Entity.Metadata;
using Microsoft.Data.Entity.Migrations;
using Microsoft.Data.Entity.Utilities;
using Microsoft.Framework.Logging;
namespace Microsoft.Data.Entity.SQLite
{
public class SQLiteDatabase : MigrationsEnabledDatabase
{
public SQLiteDatabase(
[NotNull] LazyRef<IModel> model,
[NotNull] SQLiteDataStoreCreator dataStoreCreator,
[NotNull] SQLiteConnection connection,
[NotNull] SQLiteMigrator migrator,
[NotNull] ILoggerFactory loggerFactory)
: base(model, dataStoreCreator, connection, migrator, loggerFactory)
{
}
public new virtual SQLiteConnection Connection
{
get { return (SQLiteConnection)base.Connection; }
}
}
}