Example #1
0
 public JugadorMapper(Gateway gatW)
     : base(gatW)
 {
     bowlerMapper = new BowlerMapper(gateway);
     cricketerMapper = new CricketerMapper(gateway);
     futbolistaMapper = new FutbolistaMapper(gateway);
 }
Example #2
0
        static void Main(string[] args)
        {
            Gateway gateway = new Gateway();
            JugadorMapper jugadorMapper = new JugadorMapper(gateway);
            ImprimirTodos(jugadorMapper);

            Jugador jugador = jugadorMapper.Buscar(2);
            jugador.Nombre = "Ambrosio";
            jugadorMapper.Actualizar(jugador);
            ImprimirTodos(jugadorMapper);

            Console.ReadKey();
        }
Example #3
0
 public FutbolistaMapper(Gateway gatW)
     : base(gatW)
 {
 }
Example #4
0
 public BowlerMapper(Gateway gatW)
     : base(gatW)
 {
 }
 public JuagadorAbstractoMapper(Gateway gatW)
     : base(gatW)
 {
 }
Example #6
0
 public CricketerMapper(Gateway gatW)
     : base(gatW)
 {
 }
Example #7
0
 public JugadorMapper(Gateway gatW) : base(gatW)
 {
     bowlerMapper     = new BowlerMapper(gateway);
     cricketerMapper  = new CricketerMapper(gateway);
     futbolistaMapper = new FutbolistaMapper(gateway);
 }
Example #8
0
 public Mapper(Gateway gateway)
 {
     this.gateway = gateway;
 }
Example #9
0
 public CricketerMapper(Gateway gatW) : base(gatW)
 {
 }