/// <summary> /// Create a new EsbFaultEvent object. /// </summary> /// <param name="eventId">Initial value of the EventId property.</param> /// <param name="eventType">Initial value of the EventType property.</param> /// <param name="eventSource">Initial value of the EventSource property.</param> /// <param name="faultSvcName">Initial value of the FaultSvcName property.</param> /// <param name="faultType">Initial value of the FaultType property.</param> public static EsbFaultEvent CreateEsbFaultEvent(global::System.Int32 eventId, global::System.String eventType, global::System.String eventSource, global::System.String faultSvcName, global::System.String faultType) { EsbFaultEvent esbFaultEvent = new EsbFaultEvent(); esbFaultEvent.EventId = eventId; esbFaultEvent.EventType = eventType; esbFaultEvent.EventSource = eventSource; esbFaultEvent.FaultSvcName = faultSvcName; esbFaultEvent.FaultType = faultType; return(esbFaultEvent); }
/// <summary> /// Deprecated Method for adding a new object to the EsbFaultEvents EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEsbFaultEvents(EsbFaultEvent esbFaultEvent) { base.AddObject("EsbFaultEvents", esbFaultEvent); }