/// <summary>
 /// Create a new TerminalTo object.
 /// </summary>
 /// <param name="code">Initial value of the Code property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static TerminalTo CreateTerminalTo(global::System.Int32 code, global::System.String name)
 {
     TerminalTo terminalTo = new TerminalTo();
     terminalTo.Code = code;
     terminalTo.Name = name;
     return terminalTo;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the TerminalToes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTerminalToes(TerminalTo terminalTo)
 {
     base.AddObject("TerminalToes", terminalTo);
 }