DbEntityAttr GetSqlName Method EasyQuery WinForms API Reference
Gets the full SQL name which represents the attribute.

Namespace: Korzh.EasyQuery.Db
Assembly: Korzh.EasyQuery.Db.NET40 (in Korzh.EasyQuery.Db.NET40.dll) Version:

public virtual string GetSqlName(
	DbQueryFormats formats,
	bool includeTableName = true


Type: Korzh.EasyQuery.Db DbQueryFormats
DbQueryFormats object.
includeTableName (Optional)
Type: OnlineSystem Boolean
if set to true then we need to include table name into result expression.

Return Value

Type: OnlineString
Full name which represents the attribute. For Data attributes it will look like "[DbName.SchemaName.]TableName.FieldName" for Virtual attributes it will be the same as the value of Expr property.
See Also