コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EmailQueue EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEmailQueue(EmailQueue emailQueue)
 {
     base.AddObject("EmailQueue", emailQueue);
 }
コード例 #2
0
 /// <summary>
 /// Create a new EmailQueue object.
 /// </summary>
 /// <param name="eq_id">Initial value of the eq_id property.</param>
 /// <param name="eq_from">Initial value of the eq_from property.</param>
 /// <param name="eq_to">Initial value of the eq_to property.</param>
 /// <param name="eq_subject">Initial value of the eq_subject property.</param>
 /// <param name="eq_body">Initial value of the eq_body property.</param>
 /// <param name="eq_tries">Initial value of the eq_tries property.</param>
 public static EmailQueue CreateEmailQueue(global::System.Int32 eq_id, global::System.String eq_from, global::System.String eq_to, global::System.String eq_subject, global::System.String eq_body, global::System.Int32 eq_tries)
 {
     EmailQueue emailQueue = new EmailQueue();
     emailQueue.eq_id = eq_id;
     emailQueue.eq_from = eq_from;
     emailQueue.eq_to = eq_to;
     emailQueue.eq_subject = eq_subject;
     emailQueue.eq_body = eq_body;
     emailQueue.eq_tries = eq_tries;
     return emailQueue;
 }