Skip to content

Commit 8b22a85

Browse files
committed
optimize SqlDml.FunctionCall()
1 parent 6095435 commit 8b22a85

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Orm/Xtensive.Orm/Sql/SqlDml.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -742,10 +742,8 @@ public static SqlUserFunctionCall FunctionCall(string name, params SqlExpression
742742
return new SqlUserFunctionCall(name, expressions);
743743
}
744744

745-
public static SqlUserFunctionCall FunctionCall(string name)
746-
{
747-
return FunctionCall(name, System.Array.Empty<SqlExpression>());
748-
}
745+
public static SqlUserFunctionCall FunctionCall(string name) =>
746+
new SqlUserFunctionCall(name, System.Array.Empty<SqlExpression>());
749747

750748
public static SqlFunctionCall CurrentUser()
751749
{

0 commit comments

Comments
 (0)