public static void UpdateType(PM_Types type) { try { int rowsAffected = GetSynegyRMSInstance().SaveChanges(); } catch (Exception) { throw; } }
/// <summary> /// Saves the type. /// </summary> /// <param name="type">The type.</param> public static void SaveType(PM_Types type) { try { GetSynegyRMSInstance().AddToPM_Types(type); GetSynegyRMSInstance().SaveChanges(); } catch (Exception) { throw; } }