/// <summary> /// Deprecated Method for adding a new object to the OutgoingCalls EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOutgoingCalls(OutgoingCall outgoingCall) { base.AddObject("OutgoingCalls", outgoingCall); }
/// <summary> /// Create a new OutgoingCall object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="callDate">Initial value of the CallDate property.</param> /// <param name="callerId">Initial value of the CallerId property.</param> /// <param name="gatewayId">Initial value of the GatewayId property.</param> public static OutgoingCall CreateOutgoingCall(global::System.Int64 id, global::System.DateTime callDate, global::System.String callerId, global::System.String gatewayId) { OutgoingCall outgoingCall = new OutgoingCall(); outgoingCall.Id = id; outgoingCall.CallDate = callDate; outgoingCall.CallerId = callerId; outgoingCall.GatewayId = gatewayId; return outgoingCall; }