Ejemplo n.º 1
0
 /// <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;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Topics EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTopics(Topic topic)
 {
     base.AddObject("Topics", topic);
 }