protected override object CastFromImp(TimeSpanViewColumnType viewColumnType, object viewColumnValue) { return(Convert.ToInt64(((System.TimeSpan)viewColumnValue).Days)); }
protected override object CastFromImp(TimeSpanViewColumnType viewColumnType, object viewColumnValue) { System.TimeSpan span = (System.TimeSpan)viewColumnValue; return((new System.DateTime(1, 1, 1)).AddDays(span.Days)); }
protected override object CastFromImp(TimeSpanViewColumnType viewColumnType, object viewColumnValue) { return(this.GetNullValue()); }
protected override object CastFromImp(TimeSpanViewColumnType viewColumnType, object viewColumnValue) { TimeSpan t = (System.TimeSpan)viewColumnValue; return(!(t == TimeSpan.Zero)); }
protected override object CastFromImp(TimeSpanViewColumnType viewColumnType, object viewColumnValue) { return(viewColumnValue.ToString()); }