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
[TestMethod] | |
public void RussianSolutionExample() | |
{ | |
// This dictionary is incomplete. | |
var russianDictionary = new[] | |
{ | |
"АВТОМОБИЛЬ", | |
"СОБАКА", | |
"САМОЛЕТ", | |
"КОСМОНАВТ", |
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
CREATE PROCEDURE [dbo].[CopyNation] | |
@id INT | |
AS | |
BEGIN | |
SET NOCOUNT ON; | |
SET XACT_ABORT ON; | |
BEGIN TRAN; | |
DECLARE @NationIDPairs TABLE ( | |
ExistingID INT NOT NULL UNIQUE, |
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
CREATE PROCEDURE [dbo].[CopyProvince] | |
@id INT | |
AS | |
BEGIN | |
SET NOCOUNT ON; | |
SET XACT_ABORT ON; | |
BEGIN TRAN; | |
DECLARE @ProvinceIDPairs TABLE ( | |
ExistingID INT NOT NULL UNIQUE, |
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
CREATE PROCEDURE [dbo].[CopyNation] | |
@id INT | |
AS | |
BEGIN | |
SET NOCOUNT ON; | |
SET XACT_ABORT ON; | |
BEGIN TRAN; | |
DECLARE @NationIDPairs TABLE ( | |
ExistingID INT NOT NULL UNIQUE, |