Ejemplo n.º 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(email email)
 {
     base.AddObject("emails", email);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new email object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="email_code">Initial value of the email_code property.</param>
 /// <param name="email_type">Initial value of the email_type property.</param>
 /// <param name="seq">Initial value of the seq property.</param>
 /// <param name="from_address">Initial value of the from_address property.</param>
 /// <param name="from_name">Initial value of the from_name property.</param>
 /// <param name="subject">Initial value of the subject property.</param>
 /// <param name="stamp">Initial value of the stamp property.</param>
 /// <param name="access_criteria">Initial value of the access_criteria property.</param>
 public static email Createemail(global::System.Int32 id, global::System.String email_code, global::System.String email_type, global::System.Int32 seq, global::System.String from_address, global::System.String from_name, global::System.String subject, global::System.DateTime stamp, global::System.String access_criteria)
 {
     email email = new email();
     email.id = id;
     email.email_code = email_code;
     email.email_type = email_type;
     email.seq = seq;
     email.from_address = from_address;
     email.from_name = from_name;
     email.subject = subject;
     email.stamp = stamp;
     email.access_criteria = access_criteria;
     return email;
 }