/// <summary> /// Create a new BlogThread object. /// </summary> /// <param name="blogThreadId">Initial value of the BlogThreadId property.</param> /// <param name="blogId">Initial value of the BlogId property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="dateTime">Initial value of the DateTime property.</param> /// <param name="userName">Initial value of the UserName property.</param> public static BlogThread CreateBlogThread(global::System.Int32 blogThreadId, global::System.Int32 blogId, global::System.Int32 userId, global::System.String description, global::System.DateTime dateTime, global::System.String userName) { BlogThread blogThread = new BlogThread(); blogThread.BlogThreadId = blogThreadId; blogThread.BlogId = blogId; blogThread.UserId = userId; blogThread.Description = description; blogThread.DateTime = dateTime; blogThread.UserName = userName; return blogThread; }
/// <summary> /// Deprecated Method for adding a new object to the BlogThreads EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBlogThreads(BlogThread blogThread) { base.AddObject("BlogThreads", blogThread); }