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) · 821 Bytes
/
StorageContext.cs
File metadata and controls
23 lines (21 loc) · 821 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.MySql
{
/// <summary>
/// Implements the <see cref="IStorageContext">IStorageContext</see> interface and represents MySQL 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="options">The options that are used to connect to the MySQL database.</param>
public StorageContext(IOptions<StorageContextOptions> options)
: base(options)
{
}
}
}