示例#1
0
 public ScorDTO(Echipa Gazda, Echipa Oaspete, int ScorGazda, int ScorOaspete)
 {
     this.Gazda       = Gazda;
     this.Oaspete     = Oaspete;
     this.ScorGazda   = ScorGazda;
     this.ScorOaspete = ScorOaspete;
 }
示例#2
0
 public Meci(string ID, Echipa Gazda, Echipa Oaspete, DateTime Data)
 {
     this.ID      = ID;
     this.Gazda   = Gazda;
     this.Oaspete = Oaspete;
     this.Data    = Data;
 }
        public static Echipa CreateEchipa(string line)
        {
            string[] fields = line.Split(',');
            Echipa   echipa = new Echipa()
            {
                //ID = Convert.ToInt64(fields[0]),
                ID   = fields[0],
                Nume = fields[1]
            };

            return(echipa);
        }
示例#4
0
 public Jucator(string ID, Echipa Echipa)
 {
     this.ID     = ID;
     this.Echipa = Echipa;
 }