/// <summary> /// Create a new BlogStats object. /// </summary> /// <param name="moduleID">Initial value of the ModuleID property.</param> /// <param name="entryCount">Initial value of the EntryCount property.</param> /// <param name="commentCount">Initial value of the CommentCount property.</param> /// <param name="trackBackCount">Initial value of the TrackBackCount property.</param> public static BlogStats CreateBlogStats(global::System.Int32 moduleID, global::System.Int32 entryCount, global::System.Int32 commentCount, global::System.Int32 trackBackCount) { BlogStats blogStats = new BlogStats(); blogStats.ModuleID = moduleID; blogStats.EntryCount = entryCount; blogStats.CommentCount = commentCount; blogStats.TrackBackCount = trackBackCount; return blogStats; }
/// <summary> /// Deprecated Method for adding a new object to the BlogStats EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBlogStats(BlogStats blogStats) { base.AddObject("BlogStats", blogStats); }