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