Date and time when this association was created
Date and time when this association was last updated
Confidence score (0.00-1.00) when AI detection was used
How this entity association was detected: AI (automatic) or Manual (user-specified)
Entity name from the related entity
References the ID of the entity in the Entities table
Primary Key
Query name from the related query
References the ID of the query in the Queries table
Gets the entity information for the entity involved in this query.
The entity metadata
Gets the query information this entity relationship belongs to.
The parent query metadata
ProtectedcopyCopies initialization data from a plain object to the class instance. Only copies properties that already exist on the class to prevent creating new fields. Special handling for DefaultValue fields to extract actual values from SQL Server syntax.
The initialization data object
Default JSON serialization for BaseInfo subclasses.
Emits all non-underscored direct field declarations. For _-prefixed private backing fields
(the MJ pattern for collection storage — e.g. _Fields, _RelatedEntities, _OrganicKeys),
emits the value of the corresponding same-named public getter instead. Purely computed getters
without a backing field (display-name formatters, derived flags) are intentionally skipped —
they can throw when source fields are null and don't belong on the wire anyway.
Nested BaseInfo instances and arrays of them unwrap automatically via JSON.stringify's native toJSON() protocol.
Subclasses may override to emit a filtered subset or custom shape (see EntityFieldValueInfo).
Tracks which entities are involved in a given query. The Queries table stores SQL and descriptions for stored queries that can be executed and serve as examples for AI.
Deprecated
Use
MJQueryEntityEntityfrom@memberjunction/core-entitiesinstead.