/// <summary> /// Deprecated Method for adding a new object to the Vacunas EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToVacunas(Vacuna vacuna) { base.AddObject("Vacunas", vacuna); }
/// <summary> /// Create a new Vacuna object. /// </summary> /// <param name="codigo">Initial value of the Codigo property.</param> public static Vacuna CreateVacuna(global::System.Int32 codigo) { Vacuna vacuna = new Vacuna(); vacuna.Codigo = codigo; return vacuna; }