/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the TopicCollections EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTopicCollections(TopicCollection topicCollection) { base.AddObject("TopicCollections", topicCollection); }