Example #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="distinct">Specifies whether query results should return all rows (false) or just distinct ones (true). Rows are distinct if at least one column differs between them.</param>
 ///<param name="rowCount">The maximum number of rows to return. If All, return all rows, otherwise return the top rows up to the maximum row count indicated.</param>
 ///<param name="sifElement">A SIF_Element</param>
 ///
 public SIF_Select( bool? distinct, string rowCount, SIFSelectElement sifElement )
     : base(InfraDTD.SIF_SELECT)
 {
     this.Distinct = distinct;
     this.RowCount = rowCount;
     this.AddSIF_Element( sifElement );
 }
 ///<summary>Sets the value of the <c>&lt;SIF_Select&gt;</c> element.</summary>
 /// <param name="Distinct">Specifies whether query results should return all rows (false) or just distinct ones (true). Rows are distinct if at least one column differs between them.</param>
 /// <param name="RowCount">The maximum number of rows to return. If All, return all rows, otherwise return the top rows up to the maximum row count indicated.</param>
 /// <param name="SifElement">A SIF_Element</param>
 ///<remarks>
 /// <para>This form of <c>setSIF_Select</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>SIF_Select</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetSIF_Select( bool? Distinct, string RowCount, SIFSelectElement SifElement )
 {
     RemoveChild( InfraDTD.SIF_EXTENDEDQUERY_SIF_SELECT);
     AddChild( InfraDTD.SIF_EXTENDEDQUERY_SIF_SELECT, new SIF_Select( Distinct, RowCount, SifElement ) );
 }
Example #3
0
 ///<summary>Sets the value of the <c>&lt;SIF_Select&gt;</c> element.</summary>
 /// <param name="Distinct">Specifies whether query results should return all rows (false) or just distinct ones (true). Rows are distinct if at least one column differs between them.</param>
 /// <param name="RowCount">The maximum number of rows to return. If All, return all rows, otherwise return the top rows up to the maximum row count indicated.</param>
 /// <param name="SifElement">A SIF_Element</param>
 ///<remarks>
 /// <para>This form of <c>setSIF_Select</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>SIF_Select</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetSIF_Select(bool?Distinct, string RowCount, SIFSelectElement SifElement)
 {
     RemoveChild(InfraDTD.SIF_EXTENDEDQUERY_SIF_SELECT);
     AddChild(InfraDTD.SIF_EXTENDEDQUERY_SIF_SELECT, new SIF_Select(Distinct, RowCount, SifElement));
 }
Example #4
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="distinct">Specifies whether query results should return all rows (false) or just distinct ones (true). Rows are distinct if at least one column differs between them.</param>
 ///<param name="rowCount">The maximum number of rows to return. If All, return all rows, otherwise return the top rows up to the maximum row count indicated.</param>
 ///<param name="sifElement">A SIF_Element</param>
 ///
 public SIF_Select(bool?distinct, string rowCount, SIFSelectElement sifElement) : base(InfraDTD.SIF_SELECT)
 {
     this.Distinct = distinct;
     this.RowCount = rowCount;
     this.AddSIF_Element(sifElement);
 }
Example #5
0
 /// <summary>Adds a new <c>&lt;SIF_Element&gt;</c> child element.</summary>
 /// <param name="val">A SIFSelectElement object</param>
 /// <remarks>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void AddSIF_Element(SIFSelectElement val)
 {
     AddChild(InfraDTD.SIF_SELECT_SIF_ELEMENT, val);
 }
Example #6
0
 /// <summary>
 /// Sets all SIFSelectElement object instances. All existing 
 /// <c>SIFSelectElement</c> instances 
 /// are removed and replaced with this list. Calling this method with the 
 /// parameter value set to null removes all <c>SIFSelectElements</c>.
 /// </summary>
 /// <remarks>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetSIF_Elements( SIFSelectElement[] items)
 {
     SetChildren( InfraDTD.SIF_SELECT_SIF_ELEMENT, items );
 }
Example #7
0
 /// <summary>Adds a new <c>&lt;SIF_Element&gt;</c> child element.</summary>
 /// <param name="val">A SIFSelectElement object</param>
 /// <remarks>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void AddSIF_Element( SIFSelectElement val )
 {
     AddChild( InfraDTD.SIF_SELECT_SIF_ELEMENT, val );
 }