Class QueryableTypeFactory
The factory responsible for retrieving all IQueryableType instances in the system for use with our query tools
Inheritance
System.Object
QueryableTypeFactory
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: LemonEdge.API.Queries
Assembly: API.dll
Syntax
public class QueryableTypeFactory
Properties
GetTypeKeys
Returns a list of all TypeName. They keys for each different IQueryableType
Declaration
public static IEnumerable<string> GetTypeKeys { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |
Methods
EnsureLoaded()
Ensures all IQueryableType are loaded from the system and custom add in modules
Declaration
public static Task EnsureLoaded()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A task representing the completion of the operation |
GetAll()
Returns all IQueryableType in the system
Declaration
public static IEnumerable<IQueryableType> GetAll()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IQueryableType> | All IQueryableType in the system |
GetFromKey(String)
Retrieves the IQueryableType for the specified TypeName
Declaration
public static IQueryableType GetFromKey(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | A valid TypeName |
Returns
Type | Description |
---|---|
IQueryableType | The IQueryableType for the specified TypeName |