QueryDataEntity Class
This class defines a query data entity which allows for storing a queries structure as well as the data to be sent as a result of the query.
Inheritance Hierarchy
Scribe.Core.ConnectorApi.Query QueryDataEntity
Namespace:
Scribe.Core.ConnectorApi.Query
Assembly:
Scribe.Core.ConnectorApi (in Scribe.Core.ConnectorApi.dll)
Syntax
public class QueryDataEntity
The QueryDataEntity type exposes the following members.
Constructors
|
Name |
Description |
---|---|---|
Basic constructor for the query data entity |
||
Constructor for the query data entity, defines the reference name of the entity |
||
Constructor for query data entity, generate an QueryDataEntity from a QueryEntity. This prepares a blue print to insert data into. |
Properties
|
Name |
Description |
---|---|---|
The foreign key name of the related table, this will be null if it is the root table |
||
This is the name that has been assigned by the user, This is a one to one mapping to the 'Name' proeprty in the QueryEntity |
||
This is the name of the table in the database |
||
The query table that this query table is a child of, if this is the root query table this will be null |
||
The columns for the table |
||
Dictionary containing the list of related entities, the key is the relationship name |
||
The relationship to the parent query table, this will be null if this is the root query table |
Methods
|
Name |
Description |
---|---|---|
Determines whether the specified object is equal to the current object. (Inherited from Object.) |
||
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
||
Serves as the default hash function. (Inherited from Object.) |
||
Gets the Type of the current instance. (Inherited from Object.) |
||
Creates a shallow copy of the current Object. (Inherited from Object.) |
||
Set a relationship for any Parent or Child QueryDataEntity using the unique 'Name' field to match on |
||
Convert this QueryDataEntity into a DataEntity |
||
Returns a string that represents the current object. (Inherited from Object.) |
Fields
|
Name |
Description |
---|---|---|
List of columns that were added for foreign key relations, the will be removed when 'ToDataEntity' is called |
See