/// <summary>
 /// Deprecated Method for adding a new object to the GatewayConfigs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGatewayConfigs(GatewayConfig gatewayConfig)
 {
     base.AddObject("GatewayConfigs", gatewayConfig);
 }
 /// <summary>
 /// Create a new GatewayConfig object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="comPort">Initial value of the ComPort property.</param>
 /// <param name="baudRate">Initial value of the BaudRate property.</param>
 /// <param name="dataBits">Initial value of the DataBits property.</param>
 /// <param name="parity">Initial value of the Parity property.</param>
 /// <param name="stopBits">Initial value of the StopBits property.</param>
 /// <param name="handshake">Initial value of the Handshake property.</param>
 public static GatewayConfig CreateGatewayConfig(global::System.String id, global::System.String comPort, global::System.String baudRate, global::System.String dataBits, global::System.String parity, global::System.String stopBits, global::System.String handshake)
 {
     GatewayConfig gatewayConfig = new GatewayConfig();
     gatewayConfig.Id = id;
     gatewayConfig.ComPort = comPort;
     gatewayConfig.BaudRate = baudRate;
     gatewayConfig.DataBits = dataBits;
     gatewayConfig.Parity = parity;
     gatewayConfig.StopBits = stopBits;
     gatewayConfig.Handshake = handshake;
     return gatewayConfig;
 }