Skip to content

Commit

Permalink
Code clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
felipmiguel committed Aug 6, 2023
1 parent 165f53d commit 5107a7f
Show file tree
Hide file tree
Showing 31 changed files with 37 additions and 87 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Description>This is the Batec.Azure.Data.Extensions.Common client library for developing .NET applications with rich experience.</Description>
Expand All @@ -10,4 +10,7 @@
<ItemGroup>
<PackageReference Include="Azure.Core" />
</ItemGroup>
<ItemGroup>
<Folder Include="properties\" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Licensed under the MIT License.

using Azure.Core;
using System;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.

// Licensed under the MIT License.
using Batec.Core.TestFramework;
using System;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.

// Licensed under the MIT License.
using Azure.Core;
using Batec.Core.TestFramework;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@
<IsExtensionClientLibrary>true</IsExtensionClientLibrary>
</PropertyGroup>
<ItemGroup>
<Compile
Include="..\..\Batec.Azure.Data.Extensions.Common\src\TokenCredentialBaseAuthenticationProvider.cs"
Link="TokenCredentialBaseAuthenticationProvider.cs" />
<Compile Include="..\..\Batec.Azure.Data.Extensions.Common\src\TokenCredentialBaseAuthenticationProvider.cs" Link="TokenCredentialBaseAuthenticationProvider.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Azure.Core" />
<PackageReference Include="MySqlConnector" />
</ItemGroup>
<ItemGroup>
<Folder Include="properties\" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Licensed under the MIT License.

using Azure.Core;
using Batec.Azure.Data.Extensions.Common;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using Batec.Core.TestFramework;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Licensed under the MIT License.

using Batec.Core.TestFramework;
using MySqlConnector;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@
<ItemGroup>
<PackageReference Include="Batec.Azure.Data.Extensions.Npgsql" />
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Licensed under the MIT License.

using Azure.Core;
using Batec.Azure.Data.Extensions.Npgsql;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Licensed under the MIT License.

using Batec.Core.TestFramework;
using Microsoft.EntityFrameworkCore;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Licensed under the MIT License.

using Batec.Core.TestFramework;
using Npgsql;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,17 @@
<IsExtensionClientLibrary>true</IsExtensionClientLibrary>
</PropertyGroup>
<ItemGroup>
<Compile
Include="..\..\Batec.Azure.Data.Extensions.Common\src\TokenCredentialBaseAuthenticationProvider.cs"
Link="TokenCredentialBaseAuthenticationProvider.cs" />
<Compile Include="..\..\Batec.Azure.Data.Extensions.Common\src\TokenCredentialBaseAuthenticationProvider.cs" Link="TokenCredentialBaseAuthenticationProvider.cs" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Azure.Core" />
<PackageReference Include="Npgsql" />
</ItemGroup>

<ItemGroup>
<Folder Include="properties\" />
</ItemGroup>


</Project>
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Licensed under the MIT License.

using Azure.Core;
using Batec.Azure.Data.Extensions.Npgsql;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Licensed under the MIT License.

using Npgsql;
using System.Threading.Tasks;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Licensed under the MIT License.

using Batec.Core.TestFramework;
using Azure.Identity;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Licensed under the MIT License.

using Batec.Core.TestFramework;
using Npgsql;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Licensed under the MIT License.

using Batec.Core.TestFramework;
using Azure.Identity;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
<ItemGroup>
<PackageReference Include="Batec.Azure.Data.Extensions.MySqlConnector" />
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>



Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Licensed under the MIT License.

using Azure.Core;
using Batec.Azure.Data.Extensions.MySqlConnector;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Licensed under the MIT License.

using Azure.Core;
using Batec.Azure.Data.Extensions.MySqlConnector;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,8 @@
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using MySqlConnector;
using Sample.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Pomelo.EntityFrameworkCore.MySql.Infrastructure;

namespace Batec.Azure.Data.Extensions.MySqlConnectorTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Licensed under the MIT License.

using Batec.Core.TestFramework;
using Batec.Azure.Data.Extensions.MySqlConnector;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using NUnit.Framework;
using Pomelo.EntityFrameworkCore.MySql.Infrastructure;
using Sample.Repository;
using Sample.Repository.Model;
using Sample.Repository.Tests;
using System;
using System.Threading.Tasks;

namespace Batec.Azure.Data.Extensions.Pomelo.EntityFrameworkCore.Tests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Licensed under the MIT License.

using Batec.Core.TestFramework;
using MySqlConnector;
Expand Down
6 changes: 1 addition & 5 deletions Batec.Core.TestFramework/TestBase.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading.Tasks;
using NUnit.Framework;

namespace Batec.Core.TestFramework
Expand Down
3 changes: 0 additions & 3 deletions Batec.Core.TestFramework/TestEnvironment.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Identity;
Expand Down

0 comments on commit 5107a7f

Please sign in to comment.