/// <summary> /// Create a new Conversation object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="storeId">Initial value of the StoreId property.</param> /// <param name="groupId">Initial value of the GroupId property.</param> /// <param name="topic">Initial value of the Topic property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="dateCreatedUtc">Initial value of the DateCreatedUtc property.</param> /// <param name="authorId">Initial value of the AuthorId property.</param> public static Conversation CreateConversation(global::System.Int64 id, global::System.Int64 storeId, global::System.Int64 groupId, global::System.String topic, global::System.String description, global::System.DateTime dateCreatedUtc, global::System.Int64 authorId) { Conversation conversation = new Conversation(); conversation.Id = id; conversation.StoreId = storeId; conversation.GroupId = groupId; conversation.Topic = topic; conversation.Description = description; conversation.DateCreatedUtc = dateCreatedUtc; conversation.AuthorId = authorId; return conversation; }
/// <summary> /// Deprecated Method for adding a new object to the Conversations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToConversations(Conversation conversation) { base.AddObject("Conversations", conversation); }