Epiworx.Data.EntityFramework.ApplicationEntities.AddToAttachments C# (CSharp) Method

AddToAttachments() public method

Deprecated Method for adding a new object to the Attachments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToAttachments ( Attachment attachment ) : void
attachment Attachment
return void
        public void AddToAttachments(Attachment attachment)
        {
            base.AddObject("Attachments", attachment);
        }