/// <summary>
 /// Deprecated Method for adding a new object to the NewsBlocks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToNewsBlocks(NewsBlock newsBlock)
 {
     base.AddObject("NewsBlocks", newsBlock);
 }
 /// <summary>
 /// Create a new NewsBlock object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 /// <param name="isGlobal">Initial value of the IsGlobal property.</param>
 /// <param name="regionId">Initial value of the RegionId property.</param>
 /// <param name="isTop">Initial value of the IsTop property.</param>
 /// <param name="posted">Initial value of the Posted property.</param>
 public static NewsBlock CreateNewsBlock(global::System.Int32 id, global::System.Boolean isActive, global::System.Boolean isGlobal, global::System.Int32 regionId, global::System.Boolean isTop, global::System.DateTime posted)
 {
     NewsBlock newsBlock = new NewsBlock();
     newsBlock.Id = id;
     newsBlock.IsActive = isActive;
     newsBlock.IsGlobal = isGlobal;
     newsBlock.RegionId = regionId;
     newsBlock.IsTop = isTop;
     newsBlock.Posted = posted;
     return newsBlock;
 }