/// <summary> /// Add the Bible ID and Topic ID inside the joint table /// </summary> /// <param name="bibleID">Bible ID</param> /// <param name="topicID">Topic ID</param> public void AddBibleAndTopic(int bibleID, int topicID) { Bible_Topics bt = new Bible_Topics(); bt.BibleID = bibleID; bt.TopicID = topicID; dbase.Bible_Topics.AddObject(bt); }
/// <summary> /// Create a new Bible_Topics object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="topicID">Initial value of the TopicID property.</param> /// <param name="bibleID">Initial value of the BibleID property.</param> public static Bible_Topics CreateBible_Topics(global::System.Int32 id, global::System.Int32 topicID, global::System.Int32 bibleID) { Bible_Topics bible_Topics = new Bible_Topics(); bible_Topics.ID = id; bible_Topics.TopicID = topicID; bible_Topics.BibleID = bibleID; return bible_Topics; }
/// <summary> /// Deprecated Method for adding a new object to the Bible_Topics EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBible_Topics(Bible_Topics bible_Topics) { base.AddObject("Bible_Topics", bible_Topics); }