public void SetDateTimeValue(string columnName, System.DateTime?value) { NullableDateTime tempvalue = value.HasValue ? new NullableDateTime(Common.FromTicks(value.Value.Ticks)) : null; { CommonPINVOKE.DataRow_SetDateTimeValue__SWIG_1(swigCPtr, columnName, NullableDateTime.getCPtr(tempvalue)); if (CommonPINVOKE.SWIGPendingException.Pending) { throw CommonPINVOKE.SWIGPendingException.Retrieve(); } } }