Show / Hide Table of Contents

Class WMDocumentIndex

Class providing RAG vector DB behavior.

Inheritance
object
WMAssetBase
WMDocumentIndex
Implements
IWMAsset
IDbEntity
IWMEntity
IDocumentedEntity
INamedEntity
IWMAssetDirectoryMember
IWMPrincipalOwned
Inherited Members
WMAssetBase.ID
WMAssetBase.CreatedBy
WMAssetBase.CreatedDate
WMAssetBase.LastUpdatedBy
WMAssetBase.LastUpdatedDate
WMAssetBase.Name
WMAssetBase.Documentation
WMAssetBase.DocumentationMIMEType
WMAssetBase.Summary
WMAssetBase.ParentDirectory
WMAssetBase.FullPathName
WMAssetBase.Properties
WMAssetBase.Owner
WMAssetBase.OwnerID
WMAssetBase.OwnerType
WMAssetBase.Get<T>(WMPrincipal, string, WMAppDbContext)
WMAssetBase.GetSync<T>(string, string)
WMAssetBase.CreateFullPathName(WMAssetDirectory, string)
WMAssetBase.GetFullPath(WMPrincipal, string, string, WMAppDbContext)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Quantellia.WMServer.Asset.DocumentIndex
Assembly: WMServer.dll
Syntax
[HasDTO(typeof(WMDocumentIndexDTO))]
public class WMDocumentIndex : WMAssetBase, IWMAsset, IDbEntity, IWMEntity, IDocumentedEntity, INamedEntity, IWMAssetDirectoryMember, IWMPrincipalOwned

Constructors

WMDocumentIndex()

Default constructor

Declaration
public WMDocumentIndex()

WMDocumentIndex(string)

Constructor that initializes the ID

Declaration
public WMDocumentIndex(string id)
Parameters
Type Name Description
string id

Properties

Documents

A list of documents associated to this WMDocumentIndex.

Declaration
public IEnumerable<WMDocument> Documents { get; set; }
Property Value
Type Description
IEnumerable<WMDocument>
Remarks

Note that this is not automatically populated in WMDocumentIndexDTO.UpdateModel(WMPrincipal, DbContext, object[]?),

Methods

SetAssociatedDocuments(WMPrincipal, WMAppDbContext)

Sets the Documents field for this WMDocumentIndex

Declaration
public Task SetAssociatedDocuments(WMPrincipal principal, WMAppDbContext context)
Parameters
Type Name Description
WMPrincipal principal
WMAppDbContext context
Returns
Type Description
Task

Implements

IWMAsset
IDbEntity
IWMEntity
IDocumentedEntity
INamedEntity
IWMAssetDirectoryMember
IWMPrincipalOwned
In this article
Back to top Copyright © 2025 Quantellia LLC.    Version 2.0.0 Revision 399     Last Updated 1/15/2025    DRAFT DOCUMENTATION. SUBJECT TO CHANGE