/// <summary>
 /// Deprecated Method for adding a new object to the notifyemailtargets EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTonotifyemailtargets(notifyemailtarget notifyemailtarget)
 {
     base.AddObject("notifyemailtargets", notifyemailtarget);
 }
 /// <summary>
 /// Create a new notifyemailtarget object.
 /// </summary>
 /// <param name="target_id">Initial value of the target_id property.</param>
 /// <param name="mailto">Initial value of the mailto property.</param>
 /// <param name="subject">Initial value of the subject property.</param>
 /// <param name="body">Initial value of the body property.</param>
 /// <param name="createtime">Initial value of the createtime property.</param>
 /// <param name="modtime">Initial value of the modtime property.</param>
 /// <param name="mailfrom">Initial value of the mailfrom property.</param>
 /// <param name="emailhost">Initial value of the emailhost property.</param>
 /// <param name="errorsubject">Initial value of the errorsubject property.</param>
 /// <param name="errorbody">Initial value of the errorbody property.</param>
 /// <param name="errorto">Initial value of the errorto property.</param>
 public static notifyemailtarget Createnotifyemailtarget(global::System.Int64 target_id, global::System.String mailto, global::System.String subject, global::System.String body, global::System.DateTime createtime, global::System.DateTime modtime, global::System.String mailfrom, global::System.String emailhost, global::System.String errorsubject, global::System.String errorbody, global::System.String errorto)
 {
     notifyemailtarget notifyemailtarget = new notifyemailtarget();
     notifyemailtarget.target_id = target_id;
     notifyemailtarget.mailto = mailto;
     notifyemailtarget.subject = subject;
     notifyemailtarget.body = body;
     notifyemailtarget.createtime = createtime;
     notifyemailtarget.modtime = modtime;
     notifyemailtarget.mailfrom = mailfrom;
     notifyemailtarget.emailhost = emailhost;
     notifyemailtarget.errorsubject = errorsubject;
     notifyemailtarget.errorbody = errorbody;
     notifyemailtarget.errorto = errorto;
     return notifyemailtarget;
 }