/// <summary>
 /// Deprecated Method for adding a new object to the DocumentVersions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDocumentVersions(DocumentVersion documentVersion)
 {
     base.AddObject("DocumentVersions", documentVersion);
 }
 /// <summary>
 /// Create a new DocumentVersion object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="documentVersion_Document">Initial value of the DocumentVersion_Document property.</param>
 /// <param name="documentVersion_Employee">Initial value of the DocumentVersion_Employee property.</param>
 /// <param name="majorVersionNumber">Initial value of the MajorVersionNumber property.</param>
 /// <param name="minorVersionNumber">Initial value of the MinorVersionNumber property.</param>
 /// <param name="changes">Initial value of the Changes property.</param>
 /// <param name="effectiveDate">Initial value of the EffectiveDate property.</param>
 /// <param name="documentStatus">Initial value of the DocumentStatus property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static DocumentVersion CreateDocumentVersion(global::System.Int32 id, global::System.Int32 documentVersion_Document, global::System.Int32 documentVersion_Employee, global::System.Int32 majorVersionNumber, global::System.Int32 minorVersionNumber, global::System.String changes, global::System.DateTime effectiveDate, global::System.String documentStatus, global::System.Byte[] rowVersion)
 {
     DocumentVersion documentVersion = new DocumentVersion();
     documentVersion.Id = id;
     documentVersion.DocumentVersion_Document = documentVersion_Document;
     documentVersion.DocumentVersion_Employee = documentVersion_Employee;
     documentVersion.MajorVersionNumber = majorVersionNumber;
     documentVersion.MinorVersionNumber = minorVersionNumber;
     documentVersion.Changes = changes;
     documentVersion.EffectiveDate = effectiveDate;
     documentVersion.DocumentStatus = documentStatus;
     documentVersion.RowVersion = rowVersion;
     return documentVersion;
 }