/*** INSTANCE METHODS ***/ public bool Save() { DataAccessLayerBaseClass DBLayer = DataAccessLayerBaseClassHelper.GetDataAccessLayer(); int TempId = DBLayer.CreateNewIssueComment(this); if (TempId > 0) { _Id = TempId; IssueNotification.SendIssueNotifications(IssueId); return(true); } else { return(false); } }
/*** INSTANCE METHODS ***/ public bool Save() { DataAccessLayerBaseClass DBLayer = DataAccessLayerBaseClassHelper.GetDataAccessLayer(); if (Id <= DefaultValues.GetIssueIdMinValue()) { int TempId = DBLayer.CreateNewIssue(this); if (TempId > 0) { _Id = TempId; return(true); } else { return(false); } } else { bool result = DBLayer.UpdateIssue(this); IssueNotification.SendIssueNotifications(Id); return(result); } }
public bool Contains(IssueNotification value) { // If value is not of type Comment, this will return false. return(List.Contains(value)); }
public void Remove(IssueNotification value) { List.Remove(value); }
public void Insert(int index, IssueNotification value) { List.Insert(index, value); }
public int IndexOf(IssueNotification value) { return(List.IndexOf(value)); }
public int Add(IssueNotification value) { return(List.Add(value)); }