/// <summary> /// Método desusado para agregar un nuevo objeto al EntitySet tipo_evento. Considere la posibilidad de usar el método .Add de la propiedad ObjectSet<T> asociada. /// </summary> public void AddTotipo_evento(tipo_evento tipo_evento) { base.AddObject("tipo_evento", tipo_evento); }
/// <summary> /// Crear un nuevo objeto tipo_evento. /// </summary> /// <param name="id_tipo_evento">Valor inicial de la propiedad id_tipo_evento.</param> public static tipo_evento Createtipo_evento(global::System.Int32 id_tipo_evento) { tipo_evento tipo_evento = new tipo_evento(); tipo_evento.id_tipo_evento = id_tipo_evento; return tipo_evento; }