/// <summary> /// Deprecated Method for adding a new object to the Sections EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSections(Section section) { base.AddObject("Sections", section); }
/// <summary> /// Create a new Section object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="insertedDate">Initial value of the InsertedDate property.</param> /// <param name="imageUrl">Initial value of the ImageUrl property.</param> /// <param name="thumbnailUrl">Initial value of the ThumbnailUrl property.</param> public static Section CreateSection(global::System.Int32 id, global::System.String name, global::System.DateTime insertedDate, global::System.String imageUrl, global::System.String thumbnailUrl) { Section section = new Section(); section.Id = id; section.Name = name; section.InsertedDate = insertedDate; section.ImageUrl = imageUrl; section.ThumbnailUrl = thumbnailUrl; return section; }