Example #1
0
 /// <summary>
 /// Create a new SymbolType object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="displayName">Initial value of the DisplayName property.</param>
 /// <param name="order">Initial value of the Order property.</param>
 public static SymbolType CreateSymbolType(global::System.Int32 id, global::System.String displayName, global::System.Int32 order)
 {
     SymbolType symbolType = new SymbolType();
     symbolType.ID = id;
     symbolType.DisplayName = displayName;
     symbolType.Order = order;
     return symbolType;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SymbolTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSymbolTypes(SymbolType symbolType)
 {
     base.AddObject("SymbolTypes", symbolType);
 }