📄 setchildproperty.format
字号:
/// <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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -