Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Torneos EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTorneos(Torneos torneos)
 {
     base.AddObject("Torneos", torneos);
 }
Example #2
0
 /// <summary>
 /// Create a new Torneos object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="idAsociacion">Initial value of the idAsociacion property.</param>
 /// <param name="nombre">Initial value of the nombre property.</param>
 /// <param name="categoria">Initial value of the categoria property.</param>
 /// <param name="telefono1">Initial value of the telefono1 property.</param>
 /// <param name="ubicacion">Initial value of the ubicacion property.</param>
 /// <param name="dieta">Initial value of the dieta property.</param>
 public static Torneos CreateTorneos(global::System.Int32 id, global::System.Int32 idAsociacion, global::System.String nombre, global::System.Int32 categoria, global::System.String telefono1, global::System.String ubicacion, global::System.Decimal dieta)
 {
     Torneos torneos = new Torneos();
     torneos.id = id;
     torneos.idAsociacion = idAsociacion;
     torneos.nombre = nombre;
     torneos.categoria = categoria;
     torneos.telefono1 = telefono1;
     torneos.ubicacion = ubicacion;
     torneos.dieta = dieta;
     return torneos;
 }