IArticleDatabase Interface
Represents an articles database in QDV.
Public Interface IArticleDatabase |
This language is not supported or no code example is available.
public interface IArticleDatabase |
This language is not supported or no code example is available.
|
Name
|
Description
|
|
ChangedFieldsCount
|
Gets the number of fields changed by the last executed macro.
|
|
DbConnection
|
Gets the direct access to the database connection.
|
|
FamilyTree
|
Gets a tree hierarchy of article families in the database.
|
|
FullPathToDatabase
|
Gets the full path to the database.
|
|
IdentifyWithReferenceOnly
|
Gets a value indicating whether articles in this database are uniquely identified
by only their reference or by the combination of their index fields.
|
Top
|
Name
|
Description
|
|
Close()
|
Closes the database.
|
|
CreateArticle(string, string, string, string, string)
|
Creates a new article and adds it to the database.
|
|
DeleteArticle(long)
|
Deletes specified article.
|
|
ExportToExcel(string)
|
Exports the database to an Excel file.
|
|
GetAllArticleRowIDs()
|
Gets the row IDs of all articles in the DB.
|
|
GetArticleFieldValue(long, string)
|
Returns the value of specified article field.
|
|
GetArticleInfo(long)
|
Gets article info for the specified article.
|
|
GetArticleInfo(string, string, string, string, string)
|
Gets an article info for the article specified by reference.
|
|
PreLoadAllArticles(ExecutionProgressTick)
|
Pre-loads all articles from the DB to an internal dictionary. All successive
accesses to the articles (with GetArticleInfo) are then
performed very fast on that dictionary.
|
|
RecordArticle(IEstimate, ITask, int, bool)
|
Saves an article in the database.
|
|
ResetChangedDataCount()
|
Resets counter for Fields modified by the last macro execution.
|
|
SetArticleFieldValue(long, string, object)
|
Writes a value to an article field.
|
|
SetArticleFieldValues(long, IDictionary<StringObject>)
|
Writes values to multiple article fields at once.
|
Top
Available since QDV 7.13.0001.
.NET Framework
Supported in: 4.8, 4.7, 4.6, 4.5.2