src/Inflatable/QueryProvider/BaseClasses/QueryGeneratorBaseClass.cs
/// <summary>
/// Gets the name of the column.
/// </summary>
/// <param name="mapProperty">The map property.</param>
/// <param name="foreignMapping">The foreign mapping.</param>
/// <param name="suffix">The suffix.</param>
/// <returns>The column name</returns>
Gets the name of the column.
Gets the name of the column .
protected string? GetColumnName(IMapProperty mapProperty, IMapping foreignMapping, string suffix = "")
        {
            return foreignMapping?.IDProperties.ToString(x => GetTableName(mapProperty.ParentMapping, suffix)
                                                                        + ".[" + foreignMapping.TableName
                                                                        + mapProperty.ParentMapping.Prefix
                                                                        + mapProperty.Name
                                                                        + mapProperty.ParentMapping.Suffix
                                                                        + x.ColumnName + "]");
        }
protected string ? GetColumnName ( IMapProperty mapProperty , IMapping foreignMapping , string suffix = " " ) { return foreignMapping ? . IDProperties . ToString ( x => GetTableName ( mapProperty . ParentMapping , suffix ) + " " + foreignMapping . TableName + mapProperty . ParentMapping . Prefix + mapProperty . Name + mapProperty . ParentMapping . Suffix + x . ColumnName + " " ) ; }
Gets the name of the column.
Gets the name of the column .
The column name
The column name
mapProperty
IMapProperty
The map property.
The map property .
foreignMapping
IMapping
The foreign mapping.
The foreign mapping .
suffix
string
None