/// /// <param name="columnName">The DataColumn of DateTime Type whose Google Data Type /// is to be specified.</param> /// <param name="dateType">The Google Date Type of the passed column</param> public void SetGoogleDateType(string columnName, GoogleDateType dateType) { SetGoogleDateType(subjectTable.Columns[columnName], dateType); }
/// /// <param name="columnName">The DataColumn of DateTime Type whose Google Data Type /// is to be specified.</param> /// <param name="dateType">The Google Date Type of the passed column</param> public void SetGoogleDateType(string columnName, GoogleDateType dateType){ SetGoogleDateType(subjectTable.Columns[columnName], dateType); }
/// <summary> /// Columns of DateTime Type can be specified as one of the various Google date /// types for specialized serialization. The implementation makes use of the /// ExtendedProperties of the column, namely the "GoogleDateType" key. /// </summary> /// <param name="column">The DataColumn of DateTime Type whose Google Data Type is /// to be specified.</param> /// <param name="dateType">The Google Date Type of the passed column</param> public static void SetGoogleDateType(DataColumn column, GoogleDateType dateType) { column.ExtendedProperties.Add("GoogleDateType", dateType); }
/// <summary> /// Columns of DateTime Type can be specified as one of the various Google date /// types for specialized serialization. The implementation makes use of the /// ExtendedProperties of the column, namely the "GoogleDateType" key. /// </summary> /// <param name="column">The DataColumn of DateTime Type whose Google Data Type is /// to be specified.</param> /// <param name="dateType">The Google Date Type of the passed column</param> public static void SetGoogleDateType(DataColumn column, GoogleDateType dateType){ column.ExtendedProperties.Add("GoogleDateType", dateType); }