Beispiel #1
0
		/// <summary>
		/// Clones this command.
		/// </summary>
		/// <returns></returns>
		public KCommandDelete Clone()
		{
			var cloned = new KCommandDelete( this.Link, x => _TextTable ); OnClone( cloned );
			cloned._TableAliasList.AddRange( this._TableAliasList );
			cloned._TextWhere = _TextWhere;
			return cloned;
		}
Beispiel #2
0
		/// <summary>
		/// Creates a new <see cref="KCommandDelete"/> instance associated with this link object for the table given.
		/// </summary>
		/// <param name="link">The link the command will be associated to.</param>
		/// <param name="table">The table this command will refer to.</param>
		/// <returns>The new created command.</returns>
		public static KCommandDelete Delete( this IKLink link, Func<dynamic, object> table )
		{
			var cmd = new KCommandDelete( link, table );
			return cmd;
		}