/// <summary> /// Create a new DocumentType object. /// </summary> /// <param name="documentTypeID">Initial value of the DocumentTypeID property.</param> public static DocumentType CreateDocumentType(global::System.Int32 documentTypeID) { DocumentType documentType = new DocumentType(); documentType.DocumentTypeID = documentTypeID; return documentType; }
/// <summary> /// Deprecated Method for adding a new object to the DocumentType EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDocumentType(DocumentType documentType) { base.AddObject("DocumentType", documentType); }