Skip to content

Commit

Permalink
Version 2.1.0 + fix for .Net Core
Browse files Browse the repository at this point in the history
  • Loading branch information
scale-tone committed Feb 2, 2017
1 parent 58c5d25 commit bf17366
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 13 deletions.
10 changes: 10 additions & 0 deletions Sources/Linq2DynamoDb.AspNet.DataSource/project.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
{
"title": "Linq2DynamoDb.AspNet.DataSource",
"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.",
"copyright": "Copyright © 2017",
"authors": [ "linq2dynamodb" ],
"version": "2.1.0-*",
"packOptions": {
"owners": [ "linq2dynamodb" ],
"projectUrl": "https://github.com/scale-tone/linq2dynamodb/",
"repository": { "url": "https://github.com/scale-tone/linq2dynamodb/" },
"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.",
"releaseNotes": "",
"tags": [ "Linq2DynamoDb", "AWS", "DynamoDb", "context", "caching", "LINQ", "ASP.NET", "DataSource", "OData" ]
},
"dependencies": {
"AWSSDK.DynamoDBv2": "3.3.2.1",
"Linq2DynamoDb.DataContext": "2.1.0-*",
Expand Down
10 changes: 10 additions & 0 deletions Sources/Linq2DynamoDb.DataContext.Caching.MemcacheD/project.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
{
"title": "Linq2DynamoDb.DataContext.Caching.MemcacheD",
"description": "Implements caching in MemcacheD (including AWS ElastiCache implementation) for Linq2DynamoDb.DataContext.",
"copyright": "Copyright © 2017",
"authors": [ "linq2dynamodb" ],
"version": "2.1.0-*",
"packOptions": {
"owners": [ "linq2dynamodb" ],
"projectUrl": "https://github.com/scale-tone/linq2dynamodb/",
"repository": { "url": "https://github.com/scale-tone/linq2dynamodb/" },
"summary": "Implements caching in MemcacheD for Linq2DynamoDb.DataContext.",
"releaseNotes": "",
"tags": [ "Linq2DynamoDb", "AWS", "DynamoDb", "caching", "memcached", "enyim" ]
},
"dependencies": {
"EnyimMemcached": "2.16.0",
"Linq2DynamoDb.DataContext": "2.1.0-*",
Expand Down
10 changes: 10 additions & 0 deletions Sources/Linq2DynamoDb.DataContext.Caching.Redis/project.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
{
"title": "Linq2DynamoDb.DataContext.Caching.Redis",
"description": "Implements caching in Redis (including AWS ElastiCache implementation) for Linq2DynamoDb.DataContext.",
"copyright": "Copyright © 2017",
"authors": [ "linq2dynamodb" ],
"version": "2.1.0-*",
"packOptions": {
"owners": [ "linq2dynamodb" ],
"projectUrl": "https://github.com/scale-tone/linq2dynamodb/",
"repository": { "url": "https://github.com/scale-tone/linq2dynamodb/" },
"summary": "Implements caching in Redis for Linq2DynamoDb.DataContext.",
"releaseNotes": "Migrated to .Net Standard 1.6",
"tags": [ "Linq2DynamoDb", "AWS", "DynamoDb", "caching", "Redis" ]
},
"dependencies": {
"Linq2DynamoDb.DataContext": "2.1.0-*",
"NETStandard.Library": "1.6.1",
Expand Down
7 changes: 2 additions & 5 deletions Sources/Linq2DynamoDb.DataContext/Readers/DocArrayReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ private IEnumerable CreateDocArrayReader(IEnumerable<Document> docs, Type result
var reader = (ISupervisableEnumerable)Activator.CreateInstance
(
typeof(DocArrayReader<>).MakeGenericType(resultEntityType),
BindingFlags.Instance | BindingFlags.NonPublic,
null,
new object[] { this, docs, projectionFunc },
null
new object[] { this, docs, projectionFunc }
);

this.InitReader(reader);
Expand All @@ -36,7 +33,7 @@ private class DocArrayReader<TEntity> : ReaderBase<TEntity>
/// <summary>
/// ctor used for iterating through an array taken from cache
/// </summary>
private DocArrayReader(TableDefinitionWrapper table, IEnumerable<Document> docs, Func<Document, TEntity> projectionFunc)
public DocArrayReader(TableDefinitionWrapper table, IEnumerable<Document> docs, Func<Document, TEntity> projectionFunc)
:
base(table, projectionFunc)
{
Expand Down
6 changes: 2 additions & 4 deletions Sources/Linq2DynamoDb.DataContext/Readers/SearchReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ private IEnumerable CreateReader(object queryResult, Type resultEntityType, Dele
var reader = (ISupervisableEnumerable)Activator.CreateInstance
(
typeof(SearchReader<>).MakeGenericType(resultEntityType),
BindingFlags.Instance | BindingFlags.NonPublic, null,
new [] { this, queryResult, projectionFunc },
null
new [] { this, queryResult, projectionFunc }
);

this.InitReader(reader);
Expand All @@ -36,7 +34,7 @@ private class SearchReader<TEntity> : ReaderBase<TEntity>
/// <summary>
/// ctor used for iterating through a search result
/// </summary>
private SearchReader(TableDefinitionWrapper table, Search search, Func<Document, TEntity> projectionFunc)
public SearchReader(TableDefinitionWrapper table, Search search, Func<Document, TEntity> projectionFunc)
:
base(table, projectionFunc)
{
Expand Down
6 changes: 2 additions & 4 deletions Sources/Linq2DynamoDb.DataContext/Readers/SingleDocReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ private IEnumerable CreateSingleDocReader(Document doc, Type resultEntityType, D
var reader = (ISupervisableEnumerable)Activator.CreateInstance
(
typeof(SingleDocReader<>).MakeGenericType(resultEntityType),
BindingFlags.Instance | BindingFlags.NonPublic, null,
new object[] { this, doc, projectionFunc },
null
new object[] { this, doc, projectionFunc }
);

this.InitReader(reader);
Expand All @@ -34,7 +32,7 @@ private class SingleDocReader<TEntity> : ReaderBase<TEntity>
/// <summary>
/// ctor, that iterates through a single document
/// </summary>
private SingleDocReader(TableDefinitionWrapper table, Document singleDoc, Func<Document, TEntity> projectionFunc)
public SingleDocReader(TableDefinitionWrapper table, Document singleDoc, Func<Document, TEntity> projectionFunc)
:
base(table, projectionFunc)
{
Expand Down
10 changes: 10 additions & 0 deletions Sources/Linq2DynamoDb.DataContext/project.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
{
"title": "Linq2DynamoDb.DataContext",
"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.",
"copyright": "Copyright © 2017",
"authors": [ "linq2dynamodb" ],
"version": "2.1.0-*",
"packOptions": {
"owners": [ "linq2dynamodb" ],
"projectUrl": "https://github.com/scale-tone/linq2dynamodb/",
"repository": { "url": "https://github.com/scale-tone/linq2dynamodb/" },
"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.",
"releaseNotes": "Migrated to .Net Standard 1.6",
"tags": [ "Linq2DynamoDb", "AWS", "DynamoDb", "context", "caching", "LINQ", ".Net" ]
},
"dependencies": {
"AWSSDK.DynamoDBv2": "3.3.2.1",
"NETStandard.Library": "1.6.1",
Expand Down

0 comments on commit bf17366

Please sign in to comment.