コード例 #1
0
ファイル: sqlbool.cs プロジェクト: GunterMueller/Ingres
 set(SqlBool data)
 {
     if (data == null || data.isNull())
     {
         setNull();
     }
     else
     {
         setNotNull();
         this.Value = data.Value;
     }
     return;
 }         // set
コード例 #2
0
ファイル: sqlbool.cs プロジェクト: JordanChin/Ingres
 /*
 ** Name: set
 **
 ** Description:
 **	Assign a new data value as a copy of an existing
 **	SQL data object.  If the input is NULL, a NULL
 **	data value results.
 **
 ** Input:
 **	data	The SQL data to be copied.
 **
 ** Output:
 **	None.
 **
 ** Returns:
 **	void.
 **
 ** History:
 **	 1-Dec-03 (gordy)
 **	    Created.
 */
 public void set(SqlBool data)
 {
     if (data == null || data.isNull())
         setNull();
     else
     {
         setNotNull();
         this.Value = data.Value;
     }
     return;
 }