ISqlReadOnlyBuilder Interface
.NET Standard 2.x
Represents a read-only ISqlBuilder object.
Namespace: SnapObjects.Data
Assembly: SnapObjects.Data.dll
Inherited Constructor
SnapObjects.Data.ISqlBuilderBase
Syntax
public interface ISqlReadOnlyBuilder : ISqlBuilderBase
Properties
| Name | Return Type | Description |
|---|---|---|
| Name | string | Gets the name of the current object. |
| SqlType | SqlStatementType | The base interface of ISqlBuilder and ISqlReadOnlyBuilder. |
| UsedParameters | IReadOnlyDictionary<string, ISqlParameter> | Gets an IReadOnlyDictionary<string, ISqlParameter> object that contains all parameters used in the current object. |
Methods
| Name | Return Type | Description |
|---|---|---|
| ToSqlString() | string | Returns the raw SQL string for the corresponding database by the current object. |
| Validate() | bool | Validates the raw SQL string for the specified database generated by the current SqlBuilder. |