Interface ISQLWrapperOwningEntityTypeWriter
For entities that automatically generate a ISQLWrapper, such as IDataset, this is used to dynamically create the custom sql for the sql wrapper
Entities that generate custom sql for sql wrappers set the OwnerEntityType and OwnerEntityID to themselves so the system knows which implementation of this interface to use
Namespace: LemonEdge.API.Processors
Assembly: API.dll
Syntax
public interface ISQLWrapperOwningEntityTypeWriter
Properties
OwningEntityTypeID
The type of owning entity (OwnerEntityType) that a sql wrapper has its custom sql generated by
Declaration
Guid OwningEntityTypeID { get; }
Property Value
Type | Description |
---|---|
System.Guid |
Methods
WriteSQLWrapper(ISQLWrapperProcessor)
Provides the owning entity the capability to update the sql wrapper with the custom sql that it is responsible for automatically generating
Declaration
Task WriteSQLWrapper(ISQLWrapperProcessor sqlProcessor)
Parameters
Type | Name | Description |
---|---|---|
ISQLWrapperProcessor | sqlProcessor | The sql wrapper processor with the sql wrapper to be udpated. This can include changing the structure of the sql wrapper itself too (ISQLTypeWrapper) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A task indicating the completion of the operation |