本文整理汇总了C#中IDalSession.Delete方法的典型用法代码示例。如果您正苦于以下问题:C# IDalSession.Delete方法的具体用法?C# IDalSession.Delete怎么用?C# IDalSession.Delete使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IDalSession
的用法示例。
在下文中一共展示了IDalSession.Delete方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Delete
public static bool Delete(IDalSession session, IModelPerformance obj)
{
return session.Delete(obj);
}
示例2: Delete
public static void Delete(IDalSession session, ICompanyContactPerson obj)
{
session.Delete(obj);
}
示例3: Delete
internal static void Delete(IDalSession session, IList list)
{
session.Delete(list);
}
示例4: deleteLogin
private void deleteLogin(IDalSession session, LoginPerson loginPerson)
{
if (loginPerson.Login.UserName != string.Empty)
SecurityManager.DeleteUser(loginPerson.Login.UserName);
session.Delete(loginPerson.Login);
}
示例5: Delete
/// <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);
}
示例6: Delete
/// <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);
}
示例7: Delete
public static void Delete(IDalSession session, IAccountHolder obj)
{
session.Delete(obj);
}
示例8: Delete
public static void Delete(IDalSession session, IWithdrawalRule obj)
{
session.Delete(obj);
}
示例9: Delete
/// <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);
}
示例10: deleteLine
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);
}
示例11: Delete
/// <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);
}