Esempio n. 1
0
 /// <summary>
 /// Create a new Gateway object.
 /// </summary>
 /// <param name="gatewayId">Initial value of the GatewayId property.</param>
 /// <param name="lastStatusHistoryID">Initial value of the LastStatusHistoryID property.</param>
 public static Gateway CreateGateway(global::System.Int32 gatewayId, global::System.Int32 lastStatusHistoryID)
 {
     Gateway gateway = new Gateway();
     gateway.GatewayId = gatewayId;
     gateway.LastStatusHistoryID = lastStatusHistoryID;
     return gateway;
 }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Gateways EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGateways(Gateway gateway)
 {
     base.AddObject("Gateways", gateway);
 }