コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EstablishedCommunications EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEstablishedCommunications(EstablishedCommunications establishedCommunications)
 {
     base.AddObject("EstablishedCommunications", establishedCommunications);
 }
コード例 #2
0
 /// <summary>
 /// Create a new EstablishedCommunications object.
 /// </summary>
 /// <param name="ec_from_username">Initial value of the ec_from_username property.</param>
 /// <param name="ec_to_username">Initial value of the ec_to_username property.</param>
 /// <param name="ec_date">Initial value of the ec_date property.</param>
 public static EstablishedCommunications CreateEstablishedCommunications(global::System.String ec_from_username, global::System.String ec_to_username, global::System.DateTime ec_date)
 {
     EstablishedCommunications establishedCommunications = new EstablishedCommunications();
     establishedCommunications.ec_from_username = ec_from_username;
     establishedCommunications.ec_to_username = ec_to_username;
     establishedCommunications.ec_date = ec_date;
     return establishedCommunications;
 }