parentproperty.format

来自「客户关系管理系统ASP.NET+VB.NET编程完整程序!」· FORMAT 代码 · 共 26 行

FORMAT
26
字号
		
		/// <summary>
		/// Gets and Sets the parent {0}.
		/// </summary>
		{5} 
		{4} {0} {1}
		{
			get
			{
				if (row.GetParentRow(base.DataSet.Relations["{3}{2}"]) != null)
					return new {0}( DataContext, row.GetParentRow("{3}{2}"));
				else
					return null;
			}
			set
			{
				if ( value == null )
				{
					row.SetParentRow(null, base.DataSet.Relations["{3}{2}"] );
				}
				else
					row.SetParentRow( value.row, base.DataSet.Relations["{3}{2}"] );			
			}
		}
	

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?