Exemplo n.º 1
0
 /**
  * Set null a DBXValue based on its TypeName
  */
 public override void SetTDBXNull(String TypeName)
 {
     if (TypeName.Equals("TDBXStringValue")) {
         TDBXStringValue v = new TDBXStringValue();
         v.setNull();
         SetAsDBXValue(v);
     } else if (TypeName.Equals("TDBXAnsiCharsValue")) {
         TDBXAnsiCharsValue v = new TDBXAnsiCharsValue();
         v.setNull();
         SetAsDBXValue(v);
     } else if (TypeName.Equals("TDBXAnsiStringValue")) {
         TDBXAnsiStringValue v = new TDBXAnsiStringValue();
         v.setNull();
         SetAsDBXValue(v);
     } else if (TypeName.Equals("TDBXSingleValue")) {
         TDBXSingleValue v = new TDBXSingleValue();
         v.setNull();
         SetAsDBXValue(v);
     } else if (TypeName.Equals("TDBXWideStringValue")) {
         TDBXWideStringValue v = new TDBXWideStringValue();
         v.setNull();
         SetAsDBXValue(v);
     } else if (TypeName.Equals("TDBXDateValue")) {
         TDBXDateValue v = new TDBXDateValue();
         v.setNull();
         SetAsDBXValue(v);
     } else if (TypeName.Equals("TDBXTimeValue")) {
         TDBXTimeValue v = new TDBXTimeValue();
         v.setNull();
         SetAsDBXValue(v);
     } else if (TypeName.Equals("TDBXBooleanValue")) {
         TDBXBooleanValue v = new TDBXBooleanValue();
         v.setNull();
         SetAsDBXValue(v);
     } else if (TypeName.Equals("TDBXDoubleValue")) {
         TDBXDoubleValue v = new TDBXDoubleValue();
         v.setNull();
         SetAsDBXValue(v);
     } else if (TypeName.Equals("TDBXInt64Value")) {
         TDBXInt64Value v = new TDBXInt64Value();
         v.setNull();
         SetAsDBXValue(v);
     } else if (TypeName.Equals("TDBXInt32Value")) {
         TDBXInt32Value v = new TDBXInt32Value();
         v.setNull();
         SetAsDBXValue(v);
     } else if (TypeName.Equals("TDBXInt16Value")) {
         TDBXInt16Value v = new TDBXInt16Value();
         v.setNull();
         SetAsDBXValue(v);
     } else if (TypeName.Equals("TDBXInt8Value")) {
         TDBXInt8Value v = new TDBXInt8Value();
         v.setNull();
         SetAsDBXValue(v);
     }
     else if (TypeName.Equals("TDBXStreamValue"))
     {
         TDBXStreamValue v = new TDBXStreamValue();
         v.setNull();
         SetAsDBXValue(v);
     }
     else if (TypeName.Equals("TDBXReaderValue"))
     {
         TDBXReaderValue v = new TDBXReaderValue();
         v.setNull();
         SetAsDBXValue(v);
     }
 }
Exemplo n.º 2
0
 /**
  * Set null a DBXValue based on its TypeName
  */
 public override void SetTDBXNull(String TypeName)
 {
     if (TypeName.Equals("TDBXStringValue"))
     {
         TDBXStringValue v = new TDBXStringValue();
         v.setNull();
         SetAsDBXValue(v);
     }
     else if (TypeName.Equals("TDBXAnsiCharsValue"))
     {
         TDBXAnsiCharsValue v = new TDBXAnsiCharsValue();
         v.setNull();
         SetAsDBXValue(v);
     }
     else if (TypeName.Equals("TDBXAnsiStringValue"))
     {
         TDBXAnsiStringValue v = new TDBXAnsiStringValue();
         v.setNull();
         SetAsDBXValue(v);
     }
     else if (TypeName.Equals("TDBXSingleValue"))
     {
         TDBXSingleValue v = new TDBXSingleValue();
         v.setNull();
         SetAsDBXValue(v);
     }
     else if (TypeName.Equals("TDBXWideStringValue"))
     {
         TDBXWideStringValue v = new TDBXWideStringValue();
         v.setNull();
         SetAsDBXValue(v);
     }
     else if (TypeName.Equals("TDBXDateValue"))
     {
         TDBXDateValue v = new TDBXDateValue();
         v.setNull();
         SetAsDBXValue(v);
     }
     else if (TypeName.Equals("TDBXTimeValue"))
     {
         TDBXTimeValue v = new TDBXTimeValue();
         v.setNull();
         SetAsDBXValue(v);
     }
     else if (TypeName.Equals("TDBXBooleanValue"))
     {
         TDBXBooleanValue v = new TDBXBooleanValue();
         v.setNull();
         SetAsDBXValue(v);
     }
     else if (TypeName.Equals("TDBXDoubleValue"))
     {
         TDBXDoubleValue v = new TDBXDoubleValue();
         v.setNull();
         SetAsDBXValue(v);
     }
     else if (TypeName.Equals("TDBXInt64Value"))
     {
         TDBXInt64Value v = new TDBXInt64Value();
         v.setNull();
         SetAsDBXValue(v);
     }
     else if (TypeName.Equals("TDBXInt32Value"))
     {
         TDBXInt32Value v = new TDBXInt32Value();
         v.setNull();
         SetAsDBXValue(v);
     }
     else if (TypeName.Equals("TDBXInt16Value"))
     {
         TDBXInt16Value v = new TDBXInt16Value();
         v.setNull();
         SetAsDBXValue(v);
     }
     else if (TypeName.Equals("TDBXInt8Value"))
     {
         TDBXInt8Value v = new TDBXInt8Value();
         v.setNull();
         SetAsDBXValue(v);
     }
     else if (TypeName.Equals("TDBXStreamValue"))
     {
         TDBXStreamValue v = new TDBXStreamValue();
         v.setNull();
         SetAsDBXValue(v);
     }
     else if (TypeName.Equals("TDBXReaderValue"))
     {
         TDBXReaderValue v = new TDBXReaderValue();
         v.setNull();
         SetAsDBXValue(v);
     }
 }