setchildproperty.format
来自「客户关系管理系统ASP.NET+VB.NET编程完整程序!」· FORMAT 代码 · 共 19 行
FORMAT
19 行
/// <summary>
/// Creates a new {1}
/// This is a 1:1 relation.
/// </summary>
/// <remarks>
/// CommitAll() must be called to persist this to the database.
/// </remarks>
/// <returns>A new {1} object</returns>
public virtual {0} New{1}()
{
_{1} = new {0}(base.DataContext, base.DataSet.Tables["{2}"].NewRow());
base.DataSet.Tables["{2}"].Rows.Add(_{1}.row);
_{1}.row.SetParentRow(this.row, base.DataSet.Relations["{3}{2}"]);
return _{1};
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?