public bool RemoveChangeType(Change_Type theChangeType) { try { Change_Types.DeleteOnSubmit(theChangeType); SubmitChanges(); return true; } catch { //TODO: Karol 20.12.2012 add proper exception handling return false; } }
public List<Project_Change> GetChangesByChangeType(Change_Type theCT) { List<Project_Change> retList = new List<Project_Change>(); retList = (from ch in Project_Changes where ch.Change_Type == theCT select ch).ToList(); return retList; }
partial void UpdateChange_Type(Change_Type instance);
partial void DeleteChange_Type(Change_Type instance);
partial void InsertChange_Type(Change_Type instance);