/// <summary> /// Create a new HoraTipo object. /// </summary> /// <param name="idHoraTipo">Initial value of the IdHoraTipo property.</param> /// <param name="siglaHoraTipo">Initial value of the SiglaHoraTipo property.</param> /// <param name="descripcionHoraTipo">Initial value of the DescripcionHoraTipo property.</param> /// <param name="idHoraSector">Initial value of the IdHoraSector property.</param> public static HoraTipo CreateHoraTipo(global::System.Int32 idHoraTipo, global::System.String siglaHoraTipo, global::System.String descripcionHoraTipo, global::System.Int32 idHoraSector) { HoraTipo horaTipo = new HoraTipo(); horaTipo.IdHoraTipo = idHoraTipo; horaTipo.SiglaHoraTipo = siglaHoraTipo; horaTipo.DescripcionHoraTipo = descripcionHoraTipo; horaTipo.IdHoraSector = idHoraSector; return horaTipo; }
/// <summary> /// Deprecated Method for adding a new object to the HoraTipo EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHoraTipo(HoraTipo horaTipo) { base.AddObject("HoraTipo", horaTipo); }