Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Styles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStyles(Style style)
 {
     base.AddObject("Styles", style);
 }
Esempio n. 2
0
 /// <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="theme">Initial value of the Theme property.</param>
 public static Style CreateStyle(global::System.Int32 styleID, global::System.String styleName, global::System.String theme)
 {
     Style style = new Style();
     style.StyleID = styleID;
     style.StyleName = styleName;
     style.Theme = theme;
     return style;
 }