/// <summary>
 /// Deprecated Method for adding a new object to the Terminals EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTerminals(Terminal terminal)
 {
     base.AddObject("Terminals", terminal);
 }
 /// <summary>
 /// Create a new Terminal object.
 /// </summary>
 /// <param name="code">Initial value of the Code property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="active">Initial value of the Active property.</param>
 /// <param name="isTerminalZero">Initial value of the IsTerminalZero property.</param>
 public static Terminal CreateTerminal(global::System.Int32 code, global::System.String name, global::System.Boolean active, global::System.Boolean isTerminalZero)
 {
     Terminal terminal = new Terminal();
     terminal.Code = code;
     terminal.Name = name;
     terminal.Active = active;
     terminal.IsTerminalZero = isTerminalZero;
     return terminal;
 }