protected virtual bool InDeletedRecordIds(EstLineAdjTableControlRow rec) { if (this.DeletedRecordIds == null || this.DeletedRecordIds.Length == 0) { return (false); } return (this.DeletedRecordIds.IndexOf("[" + rec.RecordUniqueId + "]") >= 0); }
public void AddToDeletedRecordIds(EstLineAdjTableControlRow rec) { if (rec.IsNewRecord) { return; } if (this.DeletedRecordIds != null && this.DeletedRecordIds.Length > 0) { this.DeletedRecordIds += ","; } this.DeletedRecordIds += "[" + rec.RecordUniqueId + "]"; }