Example #1
0
 public void addInfraccion(Infraccion infraccion)
 {
     Infraccion unaInfraccion = new Infraccion() { Fecha = infraccion.Fecha, JugadorID = infraccion.JugadorID, Motivo = infraccion.Motivo, PartidoID = infraccion.PartidoID };
     db.Infraccions.InsertOnSubmit(unaInfraccion);
     db.SubmitChanges();
 }
Example #2
0
 partial void DeleteInfraccion(Infraccion instance);
Example #3
0
 partial void UpdateInfraccion(Infraccion instance);
Example #4
0
 partial void InsertInfraccion(Infraccion instance);
Example #5
0
		private void detach_Infraccions(Infraccion entity)
		{
			this.SendPropertyChanging();
			entity.Partido = null;
		}
Example #6
0
		private void attach_Infraccions(Infraccion entity)
		{
			this.SendPropertyChanging();
			entity.Jugador = this;
		}