public void InsertImunisasi(DateTime hbo, DateTime bcg_Polio1, DateTime dptHb1_Polio2, DateTime dptHb2_Polio2,
            DateTime dptHb3_Polio4, DateTime campak)
        {
            using (DbBhmEntities dc = new DbBhmEntities())
            {
                Imunisasi imun = new Imunisasi();

                imun.hbo = hbo;
                imun.bcg_Polio1 = bcg_Polio1;
                imun.dptHb1_Polio2 = dptHb1_Polio2;
                imun.dptHb2_Polio2 = dptHb2_Polio2;
                imun.dptHb3_Polio4 = dptHb3_Polio4;
                imun.campak = campak;

                dc.Imunisasis.AddObject(imun);
                dc.SaveChanges();
            }
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the Imunisasis EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToImunisasis(Imunisasi imunisasi)
 {
     base.AddObject("Imunisasis", imunisasi);
 }
 /// <summary>
 /// Create a new Imunisasi object.
 /// </summary>
 /// <param name="idImunisasi">Initial value of the idImunisasi property.</param>
 public static Imunisasi CreateImunisasi(global::System.Int32 idImunisasi)
 {
     Imunisasi imunisasi = new Imunisasi();
     imunisasi.idImunisasi = idImunisasi;
     return imunisasi;
 }