public static void SetCategory(this DataTable table, TableCategory category) { table.ExtendedProperties["TABLE_CATEGORY"] = category.ToString(); }