Skip to content

Instantly share code, notes, and snippets.

@tocohara
Created December 21, 2020 02:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tocohara/b5b2aee029be56348da52bc4a10f9a16 to your computer and use it in GitHub Desktop.
Save tocohara/b5b2aee029be56348da52bc4a10f9a16 to your computer and use it in GitHub Desktop.
Clear Appointment Log Method
public virtual void ClearAppointmentLog()
{
foreach (FSAppointmentLog fsAppointmentLogRow in LogRecords.Select().RowCast<FSAppointmentLog>().Where(_ => _.Type != ID.Type_Log.TRAVEL))
{
LogRecords.Delete(fsAppointmentLogRow);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment