Skip to content

Commit bf17366

Browse files
committed
Version 2.1.0 + fix for .Net Core
1 parent 58c5d25 commit bf17366

File tree

7 files changed

+46
-13
lines changed

7 files changed

+46
-13
lines changed

Sources/Linq2DynamoDb.AspNet.DataSource/project.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
{
22
"title": "Linq2DynamoDb.AspNet.DataSource",
3+
"description": "A set of extensions to Linq2DynamoDb.DataContext for use in ASP.Net projects. Includes an ASP.Net DataSource implementation. Extends Linq2DynamoDb.DataContext to allow exposing it as an OData endpoint.",
34
"copyright": "Copyright © 2017",
5+
"authors": [ "linq2dynamodb" ],
46
"version": "2.1.0-*",
7+
"packOptions": {
8+
"owners": [ "linq2dynamodb" ],
9+
"projectUrl": "https://github.com/scale-tone/linq2dynamodb/",
10+
"repository": { "url": "https://github.com/scale-tone/linq2dynamodb/" },
11+
"summary": "A set of extensions to Linq2DynamoDb.DataContext for use in ASP.Net projects. Includes an ASP.Net DataSource implementation. Extends Linq2DynamoDb.DataContext to allow exposing it as an OData endpoint.",
12+
"releaseNotes": "",
13+
"tags": [ "Linq2DynamoDb", "AWS", "DynamoDb", "context", "caching", "LINQ", "ASP.NET", "DataSource", "OData" ]
14+
},
515
"dependencies": {
616
"AWSSDK.DynamoDBv2": "3.3.2.1",
717
"Linq2DynamoDb.DataContext": "2.1.0-*",

Sources/Linq2DynamoDb.DataContext.Caching.MemcacheD/project.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
{
22
"title": "Linq2DynamoDb.DataContext.Caching.MemcacheD",
3+
"description": "Implements caching in MemcacheD (including AWS ElastiCache implementation) for Linq2DynamoDb.DataContext.",
34
"copyright": "Copyright © 2017",
5+
"authors": [ "linq2dynamodb" ],
46
"version": "2.1.0-*",
7+
"packOptions": {
8+
"owners": [ "linq2dynamodb" ],
9+
"projectUrl": "https://github.com/scale-tone/linq2dynamodb/",
10+
"repository": { "url": "https://github.com/scale-tone/linq2dynamodb/" },
11+
"summary": "Implements caching in MemcacheD for Linq2DynamoDb.DataContext.",
12+
"releaseNotes": "",
13+
"tags": [ "Linq2DynamoDb", "AWS", "DynamoDb", "caching", "memcached", "enyim" ]
14+
},
515
"dependencies": {
616
"EnyimMemcached": "2.16.0",
717
"Linq2DynamoDb.DataContext": "2.1.0-*",

Sources/Linq2DynamoDb.DataContext.Caching.Redis/project.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
{
22
"title": "Linq2DynamoDb.DataContext.Caching.Redis",
3+
"description": "Implements caching in Redis (including AWS ElastiCache implementation) for Linq2DynamoDb.DataContext.",
34
"copyright": "Copyright © 2017",
5+
"authors": [ "linq2dynamodb" ],
46
"version": "2.1.0-*",
7+
"packOptions": {
8+
"owners": [ "linq2dynamodb" ],
9+
"projectUrl": "https://github.com/scale-tone/linq2dynamodb/",
10+
"repository": { "url": "https://github.com/scale-tone/linq2dynamodb/" },
11+
"summary": "Implements caching in Redis for Linq2DynamoDb.DataContext.",
12+
"releaseNotes": "Migrated to .Net Standard 1.6",
13+
"tags": [ "Linq2DynamoDb", "AWS", "DynamoDb", "caching", "Redis" ]
14+
},
515
"dependencies": {
616
"Linq2DynamoDb.DataContext": "2.1.0-*",
717
"NETStandard.Library": "1.6.1",

Sources/Linq2DynamoDb.DataContext/Readers/DocArrayReader.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@ private IEnumerable CreateDocArrayReader(IEnumerable<Document> docs, Type result
1717
var reader = (ISupervisableEnumerable)Activator.CreateInstance
1818
(
1919
typeof(DocArrayReader<>).MakeGenericType(resultEntityType),
20-
BindingFlags.Instance | BindingFlags.NonPublic,
21-
null,
22-
new object[] { this, docs, projectionFunc },
23-
null
20+
new object[] { this, docs, projectionFunc }
2421
);
2522

2623
this.InitReader(reader);
@@ -36,7 +33,7 @@ private class DocArrayReader<TEntity> : ReaderBase<TEntity>
3633
/// <summary>
3734
/// ctor used for iterating through an array taken from cache
3835
/// </summary>
39-
private DocArrayReader(TableDefinitionWrapper table, IEnumerable<Document> docs, Func<Document, TEntity> projectionFunc)
36+
public DocArrayReader(TableDefinitionWrapper table, IEnumerable<Document> docs, Func<Document, TEntity> projectionFunc)
4037
:
4138
base(table, projectionFunc)
4239
{

Sources/Linq2DynamoDb.DataContext/Readers/SearchReader.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ private IEnumerable CreateReader(object queryResult, Type resultEntityType, Dele
1717
var reader = (ISupervisableEnumerable)Activator.CreateInstance
1818
(
1919
typeof(SearchReader<>).MakeGenericType(resultEntityType),
20-
BindingFlags.Instance | BindingFlags.NonPublic, null,
21-
new [] { this, queryResult, projectionFunc },
22-
null
20+
new [] { this, queryResult, projectionFunc }
2321
);
2422

2523
this.InitReader(reader);
@@ -36,7 +34,7 @@ private class SearchReader<TEntity> : ReaderBase<TEntity>
3634
/// <summary>
3735
/// ctor used for iterating through a search result
3836
/// </summary>
39-
private SearchReader(TableDefinitionWrapper table, Search search, Func<Document, TEntity> projectionFunc)
37+
public SearchReader(TableDefinitionWrapper table, Search search, Func<Document, TEntity> projectionFunc)
4038
:
4139
base(table, projectionFunc)
4240
{

Sources/Linq2DynamoDb.DataContext/Readers/SingleDocReader.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ private IEnumerable CreateSingleDocReader(Document doc, Type resultEntityType, D
1515
var reader = (ISupervisableEnumerable)Activator.CreateInstance
1616
(
1717
typeof(SingleDocReader<>).MakeGenericType(resultEntityType),
18-
BindingFlags.Instance | BindingFlags.NonPublic, null,
19-
new object[] { this, doc, projectionFunc },
20-
null
18+
new object[] { this, doc, projectionFunc }
2119
);
2220

2321
this.InitReader(reader);
@@ -34,7 +32,7 @@ private class SingleDocReader<TEntity> : ReaderBase<TEntity>
3432
/// <summary>
3533
/// ctor, that iterates through a single document
3634
/// </summary>
37-
private SingleDocReader(TableDefinitionWrapper table, Document singleDoc, Func<Document, TEntity> projectionFunc)
35+
public SingleDocReader(TableDefinitionWrapper table, Document singleDoc, Func<Document, TEntity> projectionFunc)
3836
:
3937
base(table, projectionFunc)
4038
{

Sources/Linq2DynamoDb.DataContext/project.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
{
22
"title": "Linq2DynamoDb.DataContext",
3+
"description": "A type-safe data context for AWS DynamoDB with LINQ and in-memory caching support. Allows to combine DynamoDB's durability with cache speed and read consistency. Translates LINQ queries into corresponding DynamoDB Get/Query/Scan operations (trying to choose the most effective one) and stores query results in an in-memory cache. When data is modified, it's saved both to DynamoDB and to cache.",
34
"copyright": "Copyright © 2017",
5+
"authors": [ "linq2dynamodb" ],
46
"version": "2.1.0-*",
7+
"packOptions": {
8+
"owners": [ "linq2dynamodb" ],
9+
"projectUrl": "https://github.com/scale-tone/linq2dynamodb/",
10+
"repository": { "url": "https://github.com/scale-tone/linq2dynamodb/" },
11+
"summary": "A type-safe data context for AWS DynamoDB with LINQ and in-memory caching support. Allows to combine DynamoDB's durability with cache speed and read consistency.",
12+
"releaseNotes": "Migrated to .Net Standard 1.6",
13+
"tags": [ "Linq2DynamoDb", "AWS", "DynamoDb", "context", "caching", "LINQ", ".Net" ]
14+
},
515
"dependencies": {
616
"AWSSDK.DynamoDBv2": "3.3.2.1",
717
"NETStandard.Library": "1.6.1",

0 commit comments

Comments
 (0)