private static Contracts.Competitions.MatchPlayer CreateMatchPlayerFromData(Player player)
        {
            var result = default(Contracts.Competitions.MatchPlayer);
            if (player.IsNotNull())
            {
                result = new Contracts.Competitions.MatchPlayer();

                result.Id = player.Id;
                result.IdNumber = player.IdNumber;

                result.LocalFirstName = player.LocalFirstName;
                result.LocalLastName = player.LocalLastName;
                result.EnglishFirstName = player.EnglishFirstName;
                result.EnglishLastName = player.EnglishLastName;
            }
            return result;
        }
Exemplo n.º 2
0
 partial void DeletePlayer(Player instance);
Exemplo n.º 3
0
 partial void UpdatePlayer(Player instance);
Exemplo n.º 4
0
 partial void InsertPlayer(Player instance);