예제 #1
0
 /// <summary>
 /// Create a new Attachment object.
 /// </summary>
 /// <param name="c__Id">Initial value of the C__Id property.</param>
 public static Attachment CreateAttachment(global::System.Int32 c__Id)
 {
     Attachment attachment = new Attachment();
     attachment.C__Id = c__Id;
     return attachment;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Attachments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAttachments(Attachment attachment)
 {
     base.AddObject("Attachments", attachment);
 }