/// <summary> /// Create a new GatewayStatusHistoryRef object. /// </summary> /// <param name="gatewayStatusHistoryRefId">Initial value of the GatewayStatusHistoryRefId property.</param> /// <param name="gatewayId">Initial value of the GatewayId property.</param> /// <param name="statusHistoryId">Initial value of the StatusHistoryId property.</param> public static GatewayStatusHistoryRef CreateGatewayStatusHistoryRef(global::System.Int32 gatewayStatusHistoryRefId, global::System.Int32 gatewayId, global::System.Int32 statusHistoryId) { GatewayStatusHistoryRef gatewayStatusHistoryRef = new GatewayStatusHistoryRef(); gatewayStatusHistoryRef.GatewayStatusHistoryRefId = gatewayStatusHistoryRefId; gatewayStatusHistoryRef.GatewayId = gatewayId; gatewayStatusHistoryRef.StatusHistoryId = statusHistoryId; return gatewayStatusHistoryRef; }
/// <summary> /// Deprecated Method for adding a new object to the GatewayStatusHistoryRefs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGatewayStatusHistoryRefs(GatewayStatusHistoryRef gatewayStatusHistoryRef) { base.AddObject("GatewayStatusHistoryRefs", gatewayStatusHistoryRef); }