DataStringFormatSQL(String, String, Object) Method

Converts a format string with field names to a string with SQL values.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static string StringFormatSQL(
	string format,
	string field,
	Object value
)

Parameters

format  String
Format string (for example: "Name = {Name} and Age = {Age}").
field  String
Name of the field.
value  Object
Value of the field to be established.

Return Value

String
String with the value result (for example: "Name = 'John' and Age = 45).

See Also