/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the Gateways EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGateways(Gateway gateway) { base.AddObject("Gateways", gateway); }