/// <summary>
 /// Deprecated Method for adding a new object to the binaries EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTobinaries(binary binary)
 {
     base.AddObject("binaries", binary);
 }
 /// <summary>
 /// Create a new binary object.
 /// </summary>
 /// <param name="timeStamp">Initial value of the TimeStamp property.</param>
 /// <param name="title">Initial value of the Title property.</param>
 /// <param name="content">Initial value of the Content property.</param>
 /// <param name="mimeType">Initial value of the MimeType property.</param>
 /// <param name="binID">Initial value of the binID property.</param>
 public static binary Createbinary(global::System.DateTime timeStamp, global::System.String title, global::System.Byte[] content, global::System.String mimeType, global::System.Int32 binID)
 {
     binary binary = new binary();
     binary.TimeStamp = timeStamp;
     binary.Title = title;
     binary.Content = content;
     binary.MimeType = mimeType;
     binary.binID = binID;
     return binary;
 }