generated from Avanade/avanade-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix issue #7. * Fix compile error on github.
- Loading branch information
Showing
11 changed files
with
133 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/DbEx | ||
|
||
using DbUp.Engine.Output; | ||
|
||
namespace DbEx.Migration | ||
{ | ||
/// <summary> | ||
/// Represents a <i>DbUp</i> <see cref="IUpgradeLog"/> <c>null</c> sink; i.e. all messages to be swallowed. | ||
/// </summary> | ||
public class NullSink : IUpgradeLog | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="NullSink"/> class. | ||
/// </summary> | ||
public NullSink() { } | ||
|
||
/// <summary> | ||
/// Writes/logs an error message. | ||
/// </summary> | ||
public void WriteError(string format, params object[] args) { } | ||
|
||
/// <summary> | ||
/// Writes/logs an informational message. | ||
/// </summary> | ||
public void WriteInformation(string format, params object[] args) { } | ||
|
||
/// <summary> | ||
/// Writes/logs a warning message. | ||
/// </summary> | ||
public void WriteWarning(string format, params object[] args) { } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
INSERT INTO [Test].[Contact] ([ContactId], [ContactTypeId], [GenderId], [Name], [DateOfBirth]) VALUES (3, (SELECT TOP 1 [ContactTypeId] FROM [Test].[ContactType] WHERE [Code] = 'E'), (SELECT TOP 1 [GenderId] FROM [Test].[Gender] WHERE [Code] = 'M'), 'Barry', '2001-10-22T00:00:00.0000000') |
Oops, something went wrong.