예제 #1
0
        public static void CopyDateTimeProperty(PropertyContext pc, TableContext tc, int rowIndex, PropertyID propertyID)
        {
            Nullable <DateTime> value = pc.GetDateTimeProperty(propertyID);

            if (value.HasValue && tc.ContainsPropertyColumn(propertyID, PropertyTypeName.PtypTime))
            {
                tc.SetDateTimeProperty(rowIndex, propertyID, value.Value);
            }
        }