/// <summary> /// Create a new Topic object. /// </summary> /// <param name="topicID">Initial value of the TopicID property.</param> /// <param name="name">Initial value of the Name property.</param> public static Topic CreateTopic(global::System.Int32 topicID, global::System.String name) { Topic topic = new Topic(); topic.TopicID = topicID; topic.Name = name; return topic; }
/// <summary> /// Deprecated Method for adding a new object to the Topics EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTopics(Topic topic) { base.AddObject("Topics", topic); }