예제 #1
0
 public void SetDateTimeValue(int columnIndex, System.DateTime?value)
 {
     NullableDateTime tempvalue = value.HasValue ? new NullableDateTime(Common.FromTicks(value.Value.Ticks)) : null;
     {
         CommonPINVOKE.DataRow_SetDateTimeValue__SWIG_0(swigCPtr, columnIndex, NullableDateTime.getCPtr(tempvalue));
         if (CommonPINVOKE.SWIGPendingException.Pending)
         {
             throw CommonPINVOKE.SWIGPendingException.Retrieve();
         }
     }
 }