forked from ExtCore/ExtCore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStorageContext.cs
More file actions
23 lines (21 loc) · 853 Bytes
/
StorageContext.cs
File metadata and controls
23 lines (21 loc) · 853 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright © 2017 Dmitry Sikorsky. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Extensions.Options;
namespace ExtCore.Data.Dapper.SqlServer
{
/// <summary>
/// Implements the <see cref="IStorageContext">IStorageContext</see> interface and represents SQL Server database
/// with the Dapper as the ORM.
/// </summary>
public class StorageContext : StorageContextBase
{
/// <summary>
/// Initializes a new instance of the <see cref="StorageContext">StorageContext</see> class.
/// </summary>
/// <param name="connectionString">The connection string that is used to connect to the SQL Server database.</param>
public StorageContext(IOptions<StorageContextOptions> options)
: base(options)
{
}
}
}