/// <summary> /// Deprecated Method for adding a new object to the DocumentVersionApprovals EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDocumentVersionApprovals(DocumentVersionApproval documentVersionApproval) { base.AddObject("DocumentVersionApprovals", documentVersionApproval); }
/// <summary> /// Create a new DocumentVersionApproval object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="documentVersionApproval_DocumentVersion">Initial value of the DocumentVersionApproval_DocumentVersion property.</param> /// <param name="documentVersionApproval_Employee">Initial value of the DocumentVersionApproval_Employee property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static DocumentVersionApproval CreateDocumentVersionApproval(global::System.Int32 id, global::System.Int32 documentVersionApproval_DocumentVersion, global::System.Int32 documentVersionApproval_Employee, global::System.Byte[] rowVersion) { DocumentVersionApproval documentVersionApproval = new DocumentVersionApproval(); documentVersionApproval.Id = id; documentVersionApproval.DocumentVersionApproval_DocumentVersion = documentVersionApproval_DocumentVersion; documentVersionApproval.DocumentVersionApproval_Employee = documentVersionApproval_Employee; documentVersionApproval.RowVersion = rowVersion; return documentVersionApproval; }