当前位置: 首页>>代码示例>>C#>>正文


C# IDalSession.Delete方法代码示例

本文整理汇总了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);
 }
开发者ID:kiquenet,项目名称:B4F,代码行数:4,代码来源:ModelPerformanceMapper.cs

示例2: Delete

 public static void Delete(IDalSession session, ICompanyContactPerson obj)
 {
     session.Delete(obj);
 }
开发者ID:kiquenet,项目名称:B4F,代码行数:4,代码来源:CompanyContactPersonMapper.cs

示例3: Delete

 internal static void Delete(IDalSession session, IList list)
 {
     session.Delete(list);
 }
开发者ID:kiquenet,项目名称:B4F,代码行数:4,代码来源:CountryMapper.cs

示例4: deleteLogin

        private void deleteLogin(IDalSession session, LoginPerson loginPerson)
        {
            if (loginPerson.Login.UserName != string.Empty)
                SecurityManager.DeleteUser(loginPerson.Login.UserName);

            session.Delete(loginPerson.Login);
        }
开发者ID:kiquenet,项目名称:B4F,代码行数:7,代码来源:LoginsAdapter.cs

示例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);
 }
开发者ID:kiquenet,项目名称:B4F,代码行数:9,代码来源:CommRuleMapper.cs

示例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);
 }
开发者ID:kiquenet,项目名称:B4F,代码行数:9,代码来源:ContactMapper.cs

示例7: Delete

 public static void Delete(IDalSession session, IAccountHolder obj)
 {
     session.Delete(obj);
 }
开发者ID:kiquenet,项目名称:B4F,代码行数:4,代码来源:AccountHolderMapper.cs

示例8: Delete

 public static void Delete(IDalSession session, IWithdrawalRule obj)
 {
     session.Delete(obj);
 }
开发者ID:kiquenet,项目名称:B4F,代码行数:4,代码来源:WithdrawalRuleMapper.cs

示例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);
 }
开发者ID:kiquenet,项目名称:B4F,代码行数:9,代码来源:FeeCalcMapper.cs

示例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);
        }
开发者ID:kiquenet,项目名称:B4F,代码行数:14,代码来源:JournalEntryLinesAdapter.cs

示例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);
 }
开发者ID:kiquenet,项目名称:B4F,代码行数:9,代码来源:FSExportFileMapper.cs


注:本文中的IDalSession.Delete方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。