/// <summary> /// Create a new Ribbon object. /// </summary> /// <param name="ribbonId">Initial value of the RibbonId property.</param> /// <param name="name">Initial value of the Name property.</param> public static Ribbon CreateRibbon(global::System.Int32 ribbonId, global::System.String name) { Ribbon ribbon = new Ribbon(); ribbon.RibbonId = ribbonId; ribbon.Name = name; return ribbon; }
/// <summary> /// Deprecated Method for adding a new object to the Ribbons EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRibbons(Ribbon ribbon) { base.AddObject("Ribbons", ribbon); }