getchildproperty.format

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

FORMAT
23
字号
		
		/// <summary>
		/// This property exposes the child object {1}.
		/// This is a 1:1 relation.
		/// </summary>
		public	{0}	{1}
		{
			get
			{
				DataRow[] childRows = this.row.GetChildRows( "{3}{4}" );
				if (childRows.Length > 0)
				{
					_{1} = new {0}(base.DataContext, childRows[0] );
				}
				return _{1};
			}
			set
			{
				value.row.SetParentRow(this.row, base.DataSet.Relations["{3}{4}"]);			
			}
		}
		
		

⌨️ 快捷键说明

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