예제 #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();
 }
예제 #2
0
 partial void DeleteInfraccion(Infraccion instance);
예제 #3
0
 partial void UpdateInfraccion(Infraccion instance);
예제 #4
0
 partial void InsertInfraccion(Infraccion instance);
예제 #5
0
		private void detach_Infraccions(Infraccion entity)
		{
			this.SendPropertyChanging();
			entity.Partido = null;
		}
예제 #6
0
		private void attach_Infraccions(Infraccion entity)
		{
			this.SendPropertyChanging();
			entity.Jugador = this;
		}