/// <summary> /// Deprecated Method for adding a new object to the Documents EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDocuments(Document document) { base.AddObject("Documents", document); }
/// <summary> /// Create a new Document object. /// </summary> /// <param name="eventDocumentId">Initial value of the EventDocumentId property.</param> public static Document CreateDocument(global::System.Int32 eventDocumentId) { Document document = new Document(); document.EventDocumentId = eventDocumentId; return document; }