Skip to content

Commit c2f3177

Browse files
committed
SqlTranslator: summaries of methods
1 parent de2d603 commit c2f3177

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

Orm/Xtensive.Orm/Sql/Compiler/SqlTranslator.cs

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2016,6 +2016,11 @@ public virtual void Translate(SqlCompilerContext context, Collation collation)
20162016

20172017
#region Enums and other types that require translation to string
20182018

2019+
/// <summary>
2020+
/// Translates <see cref="SqlNodeType"/> and writes the result to the <paramref name="output"/>.
2021+
/// </summary>
2022+
/// <param name="output">The output to write to.</param>
2023+
/// <param name="type">Enum value to translate.</param>
20192024
public virtual void Translate(IOutput output, SqlNodeType type)
20202025
{
20212026
_ = output.Append(type switch {
@@ -2081,7 +2086,6 @@ public virtual string TranslateToString(SqlNodeType type) =>
20812086
/// </summary>
20822087
/// <param name="output">The output to write to.</param>
20832088
/// <param name="type">Enum value to translate.</param>
2084-
/// <returns>SQL variant of join type.</returns>
20852089
public virtual void Translate(IOutput output, SqlJoinType type)
20862090
{
20872091
_ = output.Append(type switch {
@@ -2096,6 +2100,11 @@ public virtual void Translate(IOutput output, SqlJoinType type)
20962100
});
20972101
}
20982102

2103+
/// <summary>
2104+
/// Translates <see cref="SqlMatchType"/> ant writes result to the <paramref name="output"/>
2105+
/// </summary>
2106+
/// <param name="output">The output to write to.</param>
2107+
/// <param name="type">Enum value to translate/</param>
20992108
public virtual void Translate(IOutput output, SqlMatchType type)
21002109
{
21012110
_ = output.Append(type switch {
@@ -2105,6 +2114,11 @@ public virtual void Translate(IOutput output, SqlMatchType type)
21052114
});
21062115
}
21072116

2117+
/// <summary>
2118+
/// Translates <see cref="ReferentialAction"/> ant writes result to the <paramref name="output"/>
2119+
/// </summary>
2120+
/// <param name="output">The output to write to.</param>
2121+
/// <param name="action">Enum value to translate/</param>
21082122
public virtual void Translate(IOutput output, ReferentialAction action)
21092123
{
21102124
_ = output.Append(action switch {
@@ -2474,6 +2488,11 @@ public void TranslateIdentifier(IOutput output, string name, params string[] mor
24742488
}
24752489
}
24762490

2491+
/// <summary>
2492+
/// Translates identifier name and writes result to <paramref name="output"/>
2493+
/// </summary>
2494+
/// <param name="output">The output.</param>
2495+
/// <param name="name">The identifier.</param>
24772496
public void TranslateIdentifier(IOutput output, string name)
24782497
{
24792498
if (string.IsNullOrEmpty(name))

0 commit comments

Comments
 (0)