Inheritance: System.Data.Objects.DataClasses.EntityObject
コード例 #1
0
 /// <summary>
 /// Create a new CDR object.
 /// </summary>
 /// <param name="callID">Initial value of the CallID property.</param>
 /// <param name="created">Initial value of the Created property.</param>
 /// <param name="direction">Initial value of the Direction property.</param>
 /// <param name="dstHost">Initial value of the DstHost property.</param>
 /// <param name="dstURI">Initial value of the DstURI property.</param>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="inserted">Initial value of the Inserted property.</param>
 /// <param name="localSocket">Initial value of the LocalSocket property.</param>
 /// <param name="remoteSocket">Initial value of the RemoteSocket property.</param>
 public static CDR CreateCDR(global::System.String callID, global::System.String created, global::System.String direction, global::System.String dstHost, global::System.String dstURI, global::System.String id, global::System.String inserted, global::System.String localSocket, global::System.String remoteSocket)
 {
     CDR cDR = new CDR();
     cDR.CallID = callID;
     cDR.Created = created;
     cDR.Direction = direction;
     cDR.DstHost = dstHost;
     cDR.DstURI = dstURI;
     cDR.ID = id;
     cDR.Inserted = inserted;
     cDR.LocalSocket = localSocket;
     cDR.RemoteSocket = remoteSocket;
     return cDR;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CDRs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCDRs(CDR cDR)
 {
     base.AddObject("CDRs", cDR);
 }