コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Emails EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEmails(Emails emails)
 {
     base.AddObject("Emails", emails);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Emails object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="sender">Initial value of the Sender property.</param>
 /// <param name="receiver">Initial value of the Receiver property.</param>
 /// <param name="receiverMail">Initial value of the ReceiverMail property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Emails CreateEmails(global::System.Int32 id, global::System.String sender, global::System.String receiver, global::System.String receiverMail, global::System.Byte[] rowVersion)
 {
     Emails emails = new Emails();
     emails.Id = id;
     emails.Sender = sender;
     emails.Receiver = receiver;
     emails.ReceiverMail = receiverMail;
     emails.RowVersion = rowVersion;
     return emails;
 }