/// <summary>
 /// Deprecated Method for adding a new object to the Documents EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDocuments(Document document)
 {
     base.AddObject("Documents", document);
 }
 /// <summary>
 /// Create a new Document object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="documentTitle">Initial value of the DocumentTitle property.</param>
 /// <param name="reference">Initial value of the Reference property.</param>
 /// <param name="inUse">Initial value of the InUse property.</param>
 /// <param name="documentType_Document">Initial value of the DocumentType_Document property.</param>
 /// <param name="document_Employee">Initial value of the Document_Employee property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Document CreateDocument(global::System.Int32 id, global::System.String documentTitle, global::System.String reference, global::System.Boolean inUse, global::System.Int32 documentType_Document, global::System.Int32 document_Employee, global::System.Byte[] rowVersion)
 {
     Document document = new Document();
     document.Id = id;
     document.DocumentTitle = documentTitle;
     document.Reference = reference;
     document.InUse = inUse;
     document.DocumentType_Document = documentType_Document;
     document.Document_Employee = document_Employee;
     document.RowVersion = rowVersion;
     return document;
 }