forked from kenjiuno/Npgsql
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathNpgsqlDatabase.cs
More file actions
26 lines (23 loc) · 960 Bytes
/
NpgsqlDatabase.cs
File metadata and controls
26 lines (23 loc) · 960 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
// 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;
using Microsoft.Data.Entity.Relational;
using Microsoft.Data.Entity.Relational.Migrations;
using Microsoft.Framework.Logging;
namespace Npgsql.EntityFramework7
{
public class NpgsqlDatabase : RelationalDatabase
{
public NpgsqlDatabase(
[NotNull] DbContext context,
[NotNull] INpgsqlDataStoreCreator dataStoreCreator,
[NotNull] INpgsqlEFConnection connection,
[NotNull] IMigrator migrator,
[NotNull] ILoggerFactory loggerFactory)
: base(context, dataStoreCreator, connection, migrator, loggerFactory)
{
}
public new virtual INpgsqlEFConnection Connection => (INpgsqlEFConnection)base.Connection;
}
}