/// <summary> /// Create a new Canchas 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="ubicacion">Initial value of the ubicacion property.</param> public static Canchas CreateCanchas(global::System.Int32 id, global::System.Int32 idAsociacion, global::System.String nombre, global::System.String ubicacion) { Canchas canchas = new Canchas(); canchas.id = id; canchas.idAsociacion = idAsociacion; canchas.nombre = nombre; canchas.ubicacion = ubicacion; return canchas; }
/// <summary> /// Deprecated Method for adding a new object to the Canchas EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCanchas(Canchas canchas) { base.AddObject("Canchas", canchas); }