Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the OccurrenceReminderEmailAttachments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOccurrenceReminderEmailAttachments(OccurrenceReminderEmailAttachment occurrenceReminderEmailAttachment)
 {
     base.AddObject("OccurrenceReminderEmailAttachments", occurrenceReminderEmailAttachment);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new OccurrenceReminderEmailAttachment object.
 /// </summary>
 /// <param name="occurrenceReminderEmailAttachmentID">Initial value of the OccurrenceReminderEmailAttachmentID property.</param>
 /// <param name="fileName">Initial value of the FileName property.</param>
 /// <param name="fileContent">Initial value of the FileContent property.</param>
 /// <param name="occurrenceID">Initial value of the OccurrenceID property.</param>
 /// <param name="dateUplaoded">Initial value of the DateUplaoded property.</param>
 public static OccurrenceReminderEmailAttachment CreateOccurrenceReminderEmailAttachment(global::System.Int32 occurrenceReminderEmailAttachmentID, global::System.String fileName, global::System.Byte[] fileContent, global::System.Int32 occurrenceID, global::System.DateTime dateUplaoded)
 {
     OccurrenceReminderEmailAttachment occurrenceReminderEmailAttachment = new OccurrenceReminderEmailAttachment();
     occurrenceReminderEmailAttachment.OccurrenceReminderEmailAttachmentID = occurrenceReminderEmailAttachmentID;
     occurrenceReminderEmailAttachment.FileName = fileName;
     occurrenceReminderEmailAttachment.FileContent = fileContent;
     occurrenceReminderEmailAttachment.OccurrenceID = occurrenceID;
     occurrenceReminderEmailAttachment.DateUplaoded = dateUplaoded;
     return occurrenceReminderEmailAttachment;
 }