예제 #1
0
 /// <summary>
 /// Create a new TopicCollection object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="title">Initial value of the Title property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 /// <param name="topicCollection_ActivityType">Initial value of the TopicCollection_ActivityType property.</param>
 public static TopicCollection CreateTopicCollection(global::System.Int32 id, global::System.String title, global::System.Byte[] rowVersion, global::System.Int32 topicCollection_ActivityType)
 {
     TopicCollection topicCollection = new TopicCollection();
     topicCollection.Id = id;
     topicCollection.Title = title;
     topicCollection.RowVersion = rowVersion;
     topicCollection.TopicCollection_ActivityType = topicCollection_ActivityType;
     return topicCollection;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TopicCollections EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTopicCollections(TopicCollection topicCollection)
 {
     base.AddObject("TopicCollections", topicCollection);
 }