/// <summary> /// Create a new Document object. /// </summary> /// <param name="documentID">Initial value of the DocumentID property.</param> /// <param name="required">Initial value of the Required property.</param> /// <param name="documentBankLenderID">Initial value of the DocumentBankLenderID property.</param> public static Document CreateDocument(global::System.Guid documentID, global::System.Boolean required, global::System.Guid documentBankLenderID) { Document document = new Document(); document.DocumentID = documentID; document.Required = required; document.DocumentBankLenderID = documentBankLenderID; return document; }
/// <summary> /// Deprecated Method for adding a new object to the Document EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDocument(Document document) { base.AddObject("Document", document); }