/// <summary>
 /// Deprecated Method for adding a new object to the BinaryStreams EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBinaryStreams(BinaryStream binaryStream)
 {
     base.AddObject("BinaryStreams", binaryStream);
 }
 /// <summary>
 /// Create a new BinaryStream object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="fileName">Initial value of the FileName property.</param>
 /// <param name="contentType">Initial value of the ContentType property.</param>
 /// <param name="size">Initial value of the Size property.</param>
 public static BinaryStream CreateBinaryStream(global::System.Int32 id, global::System.String fileName, global::System.String contentType, global::System.Int64 size)
 {
     BinaryStream binaryStream = new BinaryStream();
     binaryStream.Id = id;
     binaryStream.FileName = fileName;
     binaryStream.ContentType = contentType;
     binaryStream.Size = size;
     return binaryStream;
 }