Skip to content

Commit f4d45e9

Browse files
committed
update nuget packages
1 parent 2fc6103 commit f4d45e9

File tree

4 files changed

+325
-336
lines changed

4 files changed

+325
-336
lines changed

src/TableStorage.Abstractions.TableEntityConverters/EntityConvert.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
using Microsoft.WindowsAzure.Storage.Table;
2-
using Newtonsoft.Json;
1+
using Newtonsoft.Json;
32
using System;
43
using System.Collections.Generic;
54
using System.Linq;
65
using System.Linq.Expressions;
76
using System.Reflection;
7+
using Microsoft.Azure.Cosmos.Table;
88

99
namespace TableStorage.Abstractions.TableEntityConverters
1010
{

src/TableStorage.Abstractions.TableEntityConverters/TableStorage.Abstractions.TableEntityConverters.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>netstandard2.0;netcoreapp2.0;net462</TargetFrameworks>
5-
<Version>1.1.6</Version>
5+
<Version>1.1.7</Version>
66
<Authors>Giovanni Galbo</Authors>
77
<Company>Giovanni Galbo</Company>
88
<Description>Easily convert POCOs (Plain Old CLR Objects) to Azure Table Storage TableEntities and vice versa.</Description>
@@ -11,7 +11,7 @@
1111
<PackageProjectUrl>https://github.com/giometrix/TableStorage.Abstractions.TableEntityConverters</PackageProjectUrl>
1212
<RepositoryUrl>https://github.com/giometrix/TableStorage.Abstractions.TableEntityConverters</RepositoryUrl>
1313
<PackageTags>table-storage azure-table-storage poco table-entities</PackageTags>
14-
<PackageReleaseNotes>Minor code refactoring</PackageReleaseNotes>
14+
<PackageReleaseNotes>Use Cosmos.Table package instead of the older WindowsAzure package</PackageReleaseNotes>
1515
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1616
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
1717
<PackageLicenseExpression>MIT</PackageLicenseExpression>
@@ -22,7 +22,7 @@
2222
</PropertyGroup>
2323

2424
<ItemGroup>
25-
<PackageReference Include="WindowsAzure.Storage" Version="9.3.3" />
25+
<PackageReference Include="Microsoft.Azure.Cosmos.Table" Version="1.0.6" />
2626
</ItemGroup>
2727

2828
</Project>
Lines changed: 22 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,27 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
62

73
namespace TableStorage.Abstractions.UnitTests
84
{
9-
public class Department
10-
{
11-
public int Id { get; set; }
12-
public string Name { get; set; }
13-
public Guid? OptionalId { get; set; }
14-
15-
}
16-
public class Employee
17-
{
18-
public Employee()
19-
{
20-
21-
}
22-
public string Company { get; set; }
23-
public int Id { get; set; }
24-
public Guid ExternalId { get; set; }
25-
public string Name { get; set; }
26-
public DateTimeOffset HireDate { get; set; }
27-
public DateTimeOffset? TermDate { get; set; }
28-
public Department Department { get; set; }
5+
public class Department
6+
{
7+
public int Id { get; set; }
8+
public string Name { get; set; }
9+
public Guid? OptionalId { get; set; }
10+
}
2911

30-
// extra stuff
31-
public DateTime ADateTime { get; set; }
32-
public DateTime? ANullableDateTime { get; set; }
33-
public int? ANullableInt { get; set; }
34-
}
35-
}
12+
public class Employee
13+
{
14+
public string Company { get; set; }
15+
public int Id { get; set; }
16+
public Guid ExternalId { get; set; }
17+
public string Name { get; set; }
18+
public DateTimeOffset HireDate { get; set; }
19+
public DateTimeOffset? TermDate { get; set; }
20+
public Department Department { get; set; }
21+
22+
// extra stuff
23+
public DateTime ADateTime { get; set; }
24+
public DateTime? ANullableDateTime { get; set; }
25+
public int? ANullableInt { get; set; }
26+
}
27+
}

0 commit comments

Comments
 (0)