Hi,
I need to reset a counter (int) field to 0 in all instances of my "Content" entities. What is the best way to do this?
I have thought of..
1) TList using "GetAll" from ContentService, and setting the property=0 for the entire list. But I'm not sure if there is a short cut or if I need to iterate through the entire list to set the values.
2) Executing a SQL Query using:
DataRepository.Provider.ExecuteNonQuery(CommandType.Text, "UPDATE Content SET Counter=0");
TIA for any recommendations.