Skip to content

Commit 25e0e36

Browse files
committed
Add MIT License to per file header
1 parent 6d0212a commit 25e0e36

File tree

14 files changed

+15
-2
lines changed

14 files changed

+15
-2
lines changed

MssqlMcp/.editorconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ indent_style = space
77
# (Please don't specify an indent_size here; that has too many unintended consequences.)
88

99
# IDE0073: File header
10-
file_header_template = Copyright (c) Microsoft Corporation. All rights reserved.
10+
file_header_template = Copyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the MIT license.
1111

1212
# Code files
1313
[*.{cs, sql}]
@@ -164,5 +164,5 @@ dotnet_diagnostic.CA1508.severity = error
164164
dotnet_diagnostic.IDE0005.severity = error
165165
# Require file header
166166
dotnet_diagnostic.IDE0073.severity = error
167-
# Fix formatting. TODO in October 2024 - set to error
167+
# Fix formatting.
168168
dotnet_diagnostic.IDE0055.severity = suggestion

MssqlMcp/MssqlMcp.Tests/UnitTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT license.
23

34
using Microsoft.Extensions.Logging;
45
using Moq;

MssqlMcp/MssqlMcp/DbOperationResult.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT license.
23

34
namespace Mssql.McpServer;
45

MssqlMcp/MssqlMcp/ISqlConnectionFactory.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT license.
23

34
using Microsoft.Data.SqlClient;
45

MssqlMcp/MssqlMcp/Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT license.
23

34
using Microsoft.Extensions.DependencyInjection;
45
using Microsoft.Extensions.Hosting;

MssqlMcp/MssqlMcp/SqlConnectionFactory.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT license.
23

34
using Microsoft.Data.SqlClient;
45

MssqlMcp/MssqlMcp/Tools/CreateTable.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT license.
23

34
using System.ComponentModel;
45
using Microsoft.Extensions.Logging;

MssqlMcp/MssqlMcp/Tools/DescribeTable.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT license.
23

34
using System.ComponentModel;
45
using Microsoft.Data.SqlClient;

MssqlMcp/MssqlMcp/Tools/DropTable.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT license.
23

34
using System.ComponentModel;
45
using Microsoft.Extensions.Logging;

MssqlMcp/MssqlMcp/Tools/InsertData.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT license.
23

34
using System.ComponentModel;
45
using Microsoft.Extensions.Logging;

0 commit comments

Comments
 (0)