コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the IncomingCalls EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToIncomingCalls(IncomingCall incomingCall)
 {
     base.AddObject("IncomingCalls", incomingCall);
 }
コード例 #2
0
 /// <summary>
 /// Create a new IncomingCall 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 IncomingCall CreateIncomingCall(global::System.Int64 id, global::System.DateTime callDate, global::System.String callerId, global::System.String gatewayId)
 {
     IncomingCall incomingCall = new IncomingCall();
     incomingCall.Id = id;
     incomingCall.CallDate = callDate;
     incomingCall.CallerId = callerId;
     incomingCall.GatewayId = gatewayId;
     return incomingCall;
 }