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.Core.Processors
Assembly: LemonEdge.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 |
---|---|
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 |
---|---|
Task | A task indicating the completion of the operation |