/// <summary> /// Deprecated Method for adding a new object to the Styles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStyles(Style style) { base.AddObject("Styles", style); }
/// <summary> /// Create a new Style object. /// </summary> /// <param name="styleId">Initial value of the StyleId property.</param> /// <param name="styleName">Initial value of the StyleName property.</param> /// <param name="createBy">Initial value of the CreateBy property.</param> /// <param name="createDate">Initial value of the CreateDate property.</param> /// <param name="updateBy">Initial value of the UpdateBy property.</param> /// <param name="updateDate">Initial value of the UpdateDate property.</param> /// <param name="bold">Initial value of the Bold property.</param> /// <param name="italic">Initial value of the Italic property.</param> /// <param name="underLine">Initial value of the UnderLine property.</param> /// <param name="otherSetting">Initial value of the OtherSetting property.</param> public static Style CreateStyle(global::System.Int32 styleId, global::System.String styleName, global::System.String createBy, global::System.DateTime createDate, global::System.String updateBy, global::System.DateTime updateDate, global::System.Boolean bold, global::System.Boolean italic, global::System.Boolean underLine, global::System.String otherSetting) { Style style = new Style(); style.StyleId = styleId; style.StyleName = styleName; style.CreateBy = createBy; style.CreateDate = createDate; style.UpdateBy = updateBy; style.UpdateDate = updateDate; style.Bold = bold; style.Italic = italic; style.UnderLine = underLine; style.OtherSetting = otherSetting; return style; }