关于过程头注释的建议。
过程头的注释可不可以定义成像C#的格式
/// <summary>
/// ....
/// </summary>
/// <remarks>
///...
/// </remarks>
/// <param name="conn"></param>
/// <param name="commandType"></param>
/// <param name="commandText"></param>
/// <param name="commandParameters"></param>
/// <returns></returns>
public static int ExecuteNonQuery(SqlConnection conn, CommandType cmdType, string cmdText, params SqlParameter[] cmdParms)
{
SqlCommand cmd = new SqlCommand();
PrepareCommand(cmd, conn, null, cmdType, cmdText, cmdParms);
int val = cmd.ExecuteNonQuery();
cmd.Parameters.Clear();
return val;
}
不知道Delphi可不可以定义成这样的呢
[ Last edited by 天地弦 on 2005-1-31 at 10:23 ]
[ Last edited by 天地弦 on 2005-2-1 at 08:06 ]
|