Suppresses parameterisation of the literal when generating SQL. This should never be applied to non-constant literals because it creates a SQL injection vulnerability.

Namespace:  Mindscape.LightSpeed.Querying
Assembly:  Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public bool EmitInline { get; set; }
Visual Basic (Declaration)
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _
Public Property EmitInline As Boolean

Remarks

This option is provided only to support SQL functions that require "magic literals" and do not allow these literals to be passed as parameters, such as the SQL Server DATEPART function. If you set EmitInline to true, you are responsible for all quoting, escaping, etc. of the literal.

See Also