/// <summary>
 /// Create a new TagoviPitanja object.
 /// </summary>
 /// <param name="tagoviPitanjeID">Initial value of the TagoviPitanjeID property.</param>
 /// <param name="tagID">Initial value of the TagID property.</param>
 /// <param name="pitanjeID">Initial value of the PitanjeID property.</param>
 public static TagoviPitanja CreateTagoviPitanja(global::System.Int32 tagoviPitanjeID, global::System.Int32 tagID, global::System.Int32 pitanjeID)
 {
     TagoviPitanja tagoviPitanja = new TagoviPitanja();
     tagoviPitanja.TagoviPitanjeID = tagoviPitanjeID;
     tagoviPitanja.TagID = tagID;
     tagoviPitanja.PitanjeID = pitanjeID;
     return tagoviPitanja;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the TagoviPitanja EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTagoviPitanja(TagoviPitanja tagoviPitanja)
 {
     base.AddObject("TagoviPitanja", tagoviPitanja);
 }
 public void AddTagsForPitanja(TagoviPitanja tg)
 {
     context.TagoviPitanja.AddObject(tg);
     context.SaveChanges();
 }