예제 #1
0
 /// <summary>
 /// Veraltete Methode zum Hinzufügen eines neuen Objekts zum EntitySet 'OutgoingMailSet'. Verwenden Sie stattdessen die Methode '.Add' der zugeordneten Eigenschaft 'ObjectSet&lt;T&gt;'.
 /// </summary>
 public void AddToOutgoingMailSet(OutgoingMail outgoingMail)
 {
     base.AddObject("OutgoingMailSet", outgoingMail);
 }
예제 #2
0
 /// <summary>
 /// Erstellt ein neues OutgoingMail-Objekt.
 /// </summary>
 /// <param name="id">Anfangswert der Eigenschaft Id.</param>
 /// <param name="rowVersion">Anfangswert der Eigenschaft RowVersion.</param>
 /// <param name="recipient">Anfangswert der Eigenschaft Recipient.</param>
 /// <param name="subject">Anfangswert der Eigenschaft Subject.</param>
 /// <param name="body">Anfangswert der Eigenschaft Body.</param>
 public static OutgoingMail CreateOutgoingMail(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.String recipient, global::System.String subject, global::System.String body)
 {
     OutgoingMail outgoingMail = new OutgoingMail();
     outgoingMail.Id = id;
     outgoingMail.RowVersion = rowVersion;
     outgoingMail.Recipient = recipient;
     outgoingMail.Subject = subject;
     outgoingMail.Body = body;
     return outgoingMail;
 }