예제 #1
0
        private void CreateCommand(JoinType type, string table, string first, Condition condition, string second)
        {
            var typeName   = type.GetDescription();
            var tableName  = Helper.TableName(table);
            var firstName  = Helper.ColumnName(first);
            var secondName = Helper.ColumnName(second);

            JoinCommand = $"{typeName} {tableName} ON {firstName} {condition.GetDescription()} {secondName}";
        }