public static bool Delete(IDalSession session, IModelPerformance obj) { return session.Delete(obj); }
public static void Delete(IDalSession session, ICompanyContactPerson obj) { session.Delete(obj); }
internal static void Delete(IDalSession session, IList list) { session.Delete(list); }
private void deleteLogin(IDalSession session, LoginPerson loginPerson) { if (loginPerson.Login.UserName != string.Empty) SecurityManager.DeleteUser(loginPerson.Login.UserName); session.Delete(loginPerson.Login); }
/// <summary> /// Deletes a <b>CommRule</b> object from the database. /// </summary> /// <param name="session">An instance of the Data Access Library (see class <see cref="B4F.TotalGiro.DAL.NHSession">NHSession</see>).</param> /// <param name="obj">The <b>CommRule</b> object to delete from the database.</param> public static void Delete(IDalSession session, ICommRule obj) { session.Delete(obj); }
internal static void Delete(IDalSession session, Country obj) { session.Delete(obj); }
/// <summary> /// Deletes a <b>Contact</b> object from the database. /// </summary> /// <param name="session">An instance of the Data Access Library (see class <see cref="B4F.TotalGiro.DAL.NHSession">NHSession</see>).</param> /// <param name="obj">The <b>Contact</b> object to delete from the database.</param> public static bool Delete(IDalSession session, IContact obj) { return session.Delete(obj); }
public static void Delete(IDalSession session, IAccountHolder obj) { session.Delete(obj); }
public static void Delete(IDalSession session, IWithdrawalRule obj) { session.Delete(obj); }
/// <summary> /// Deletes a <b>FeeCalc</b> object from the database. /// </summary> /// <param name="session">An instance of the Data Access Library (see class <see cref="B4F.TotalGiro.DAL.NHSession">NHSession</see>).</param> /// <param name="obj">The <b>FeeCalc</b> object to delete from the database.</param> public static bool Delete(IDalSession session, IFeeCalc obj) { return session.Delete(obj); }
private static void deleteLine(IDalSession session, IJournalEntryLine line) { IJournalEntry journalEntry = line.Parent; int removedLineNumber = line.LineNumber; bool glAccountIsFixed = line.GLAccountIsFixed; journalEntry.Lines.Remove(line); session.Delete(line); if (!glAccountIsFixed) journalEntry.Lines.ShiftLineNumbers(removedLineNumber, -1); JournalEntryMapper.Update(session, journalEntry); }
/// <summary> /// Deletes a list of FSExportFile objects. /// </summary> /// <param name="DataSession">data session object</param> /// <param name="obj">list of existing FSExportFile objects</param> public static void Delete(IDalSession DataSession, IList list) { DataSession.Delete(list); }
/// <summary> /// Deletes an existing FSExportFile. /// </summary> /// <param name="DataSession">data session object</param> /// <param name="obj">existing object</param> public static void Delete(IDalSession DataSession, FSExportFile obj) { DataSession.Delete(obj); }