Interface IQueryProgram
Inherited Members
Namespace: LemonEdge.DataAccess.Core.Abstractions.Builders
Assembly: LemonEdge.DataAccess.Core.Abstractions.dll
Syntax
public interface IQueryProgram : IQueryBuilder
Properties
ForceCreate
Whether to force CREATE, rather than ALTER.
Declaration
bool ForceCreate { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
IncludeDrop
Whether to DROP first.
Declaration
bool IncludeDrop { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
AddBody(string)
Adds the body of the procedure.
Declaration
void AddBody(string body)
Parameters
| Type | Name | Description |
|---|---|---|
| string | body |
AddParameter(string, ColumnType)
Adds a parameter.
Declaration
void AddParameter(string name, ColumnType definition)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The param name. |
| ColumnType | definition | The type of the param. |