Answer the question
In order to leave comments, you need to log in
Patter Gateway data table how to use correctly?
Hello! Understanding the Fowler Data Table Gateway pattern, for example, we have such a model
public class Team
{
public string Name { get; set; }
public ICollection<Player> Players { get; set; }
}
public class Player
{
public string Name { get; set; }
}
public class TeamGateAway
{
public void Add(Team team);
}
public class PlayerGateAway
{
public void Add(Player player);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question