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


C# DBTypes.DBGuid类代码示例

本文整理汇总了C#中Framework.Runtime.DBTypes.DBGuid的典型用法代码示例。如果您正苦于以下问题:C# DBGuid类的具体用法?C# DBGuid怎么用?C# DBGuid使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


DBGuid类属于Framework.Runtime.DBTypes命名空间,在下文中一共展示了DBGuid类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: ProgramKeywordBase

 // -------------------------------------------------------------------------------------
 /// <summary>
 /// Primary key based constructor
 /// </summary>
 /// <param name="KeywordRefVal">Value of 'cKeywordRef' field</param>
 /// <param name="ProgramRefVal">Value of 'uProgramRef' field</param>
 // -------------------------------------------------------------------------------------
 public ProgramKeywordBase(DBString KeywordRefVal,
                       DBGuid ProgramRefVal)
 {
     ResetExceptions();
       m_KeywordRef = KeywordRefVal;
       m_ProgramRef = ProgramRefVal;
 }
开发者ID:bmadarasz,项目名称:ndihelpdesk,代码行数:14,代码来源:ProgramKeywordBase.cs

示例2: frmTemplateEdit

 /// <summary>
 /// Default constructor (new)
 /// </summary>
 public frmTemplateEdit()
 {
     // Required for Windows Form Designer support
       InitializeComponent();
       m_CurrentTemplateID = new DBGuid();
       m_insert = true;
 }
开发者ID:bmadarasz,项目名称:ndihelpdesk,代码行数:10,代码来源:frmTemplateEdit.cs

示例3: KefMembersCountByType

        public int KefMembersCountByType(DBGuid OrganisationID, string ContactType)
        {
            TraceCallEnterEvent.Raise();
              try
              {
            int result = 0;
            DataSet entitySet = m_DataContext.ndihdOrgOwnMemberSelectCountByType(OrganisationID, ContactType);

            if (entitySet.Tables.Count > 0)
            {
              if (entitySet.Tables[0].Rows.Count > 0)
              {
            result = Convert.ToInt32(entitySet.Tables[0].Rows[0]["db"]);
              }
            }

            TraceCallReturnEvent.Raise();

            return result;
              }
              catch (Exception ex)
              {
            ExceptionManager.Publish(ex);
            TraceCallReturnEvent.Raise(false);
            throw;
              }
        }
开发者ID:bmadarasz,项目名称:ndihelpdesk,代码行数:27,代码来源:OrgOwnMemberService.cs

示例4: GlobalSearchBase

 // -------------------------------------------------------------------------------------
 /// <summary>
 /// Primary key based constructor
 /// </summary>
 /// <param name="IDRefVal">Value of 'uIDRef' field</param>
 /// <param name="SearchCategoryRefVal">Value of 'cSearchCategoryRef' field</param>
 // -------------------------------------------------------------------------------------
 public GlobalSearchBase(DBGuid IDRefVal,
                     DBString SearchCategoryRefVal)
 {
     ResetExceptions();
       m_IDRef = IDRefVal;
       m_SearchCategoryRef = SearchCategoryRefVal;
 }
开发者ID:bmadarasz,项目名称:ndihelpdesk,代码行数:14,代码来源:GlobalSearchBase.cs

示例5: CheckProgramExistByName

        public bool CheckProgramExistByName(DBString programName, DBGuid organizationRef, DBGuid programID)
        {
            TraceCallEnterEvent.Raise();
              try
              {
            Program result = null;
            DataSet entitySet = m_DataContext.ndihdProgramSelectByName(
              programName,
              organizationRef,
              programID);

            if (entitySet.Tables[0].Rows.Count != 0)
            {
              result = new Program(entitySet);
            }

            TraceCallReturnEvent.Raise();

            if (result != null)
            {
              return true;
            }

            return false;
              }
              catch (Exception ex)
              {
            ExceptionManager.Publish(ex);
            TraceCallReturnEvent.Raise(false);
            throw;
              }
        }
开发者ID:bmadarasz,项目名称:ndihelpdesk,代码行数:32,代码来源:ProgramService.cs

示例6: TemplateCategoryBase

 // -------------------------------------------------------------------------------------
 /// <summary>
 /// Primary key based constructor
 /// </summary>
 /// <param name="TemplateRefVal">Value of 'uTemplateRef' field</param>
 /// <param name="ProgramCategoryRefVal">Value of 'cProgramCategoryRef' field</param>
 // -------------------------------------------------------------------------------------
 public TemplateCategoryBase(DBGuid TemplateRefVal,
                         DBString ProgramCategoryRefVal)
 {
     ResetExceptions();
       m_TemplateRef = TemplateRefVal;
       m_ProgramCategoryRef = ProgramCategoryRefVal;
 }
开发者ID:bmadarasz,项目名称:ndihelpdesk,代码行数:14,代码来源:TemplateCategoryBase.cs

示例7: frmTemplatePageEdit

 /// <summary>
 /// Default constructor (new)
 /// </summary>
 public frmTemplatePageEdit(DBGuid TemplateId, TemplatePageContainer ExistingPages)
 {
     // Required for Windows Form Designer support
       InitializeComponent();
       m_TemplateID = TemplateId;
       m_ExistingPages = ExistingPages;
 }
开发者ID:bmadarasz,项目名称:ndihelpdesk,代码行数:10,代码来源:frmTemplatePageEdit.cs

示例8: DeleteChildrenByAttachmentOfJobOffer

 public virtual void DeleteChildrenByAttachmentOfJobOffer(DBGuid IDVal)
 {
     TraceCallEnterEvent.Raise();
       try
       {
     m_DataContext.BeginNestedTran();
     try
     {
       m_DataContext.ndihdAttachmentOfJobOfferDeleteBy(IDVal);
       m_DataContext.CommitNested();
     }
     catch
     {
       m_DataContext.RollbackNested();
       throw;
     }
     TraceCallReturnEvent.Raise();
     return;
       }
       catch (Exception ex)
       {
     ExceptionManager.Publish(ex);
     TraceCallReturnEvent.Raise(false);
     throw;
       }
 }
开发者ID:bmadarasz,项目名称:ndihelpdesk,代码行数:26,代码来源:JobOfferServiceBase.cs

示例9: JobAnswer

 // -------------------------------------------------------------------------------------
 /// <summary>
 /// Primary key based constructor
 /// </summary>
 /// <param name="JobRefVal">Value of 'uJobRef' field</param>
 /// <param name="TypeVal">Value of 'cType' field</param>
 /// <param name="SubscriberNameRefVal">Value of 'cSubscriberNameRef' field</param>
 /// <param name="SenderNameRefVal">Value of 'cSenderNameRef' field</param>
 // -------------------------------------------------------------------------------------
 public JobAnswer(DBGuid JobRefVal,
              DBString TypeVal,
              DBString SubscriberNameRefVal,
              DBString SenderNameRefVal)
     : base(JobRefVal, TypeVal, SubscriberNameRefVal, SenderNameRefVal)
 {
 }
开发者ID:bmadarasz,项目名称:ndihelpdesk,代码行数:16,代码来源:JobAnswer.cs

示例10: DeleteChildrenByDetailOfPendingQuestionForm

 public virtual void DeleteChildrenByDetailOfPendingQuestionForm(DBGuid IDVal)
 {
     TraceCallEnterEvent.Raise();
       try
       {
     m_DataContext.BeginNestedTran();
     try
     {
       m_DataContext.ndihdDetailOfPendingQuestionFormDeleteBy(IDVal);
       m_DataContext.CommitNested();
     }
     catch
     {
       m_DataContext.RollbackNested();
       throw;
     }
     TraceCallReturnEvent.Raise();
     return;
       }
       catch (Exception ex)
       {
     ExceptionManager.Publish(ex);
     TraceCallReturnEvent.Raise(false);
     throw;
       }
 }
开发者ID:bmadarasz,项目名称:ndihelpdesk,代码行数:26,代码来源:PendingQuestionFormServiceBase.cs

示例11: OrganisationUserBase

 // -------------------------------------------------------------------------------------
 /// <summary>
 /// Primary key based constructor
 /// </summary>
 /// <param name="OrganisationRefVal">Value of 'uOrganisationRef' field</param>
 /// <param name="LoginNameRefVal">Value of 'cLoginNameRef' field</param>
 // -------------------------------------------------------------------------------------
 public OrganisationUserBase(DBGuid OrganisationRefVal,
                         DBString LoginNameRefVal)
 {
     ResetExceptions();
       m_OrganisationRef = OrganisationRefVal;
       m_LoginNameRef = LoginNameRefVal;
 }
开发者ID:bmadarasz,项目名称:ndihelpdesk,代码行数:14,代码来源:OrganisationUserBase.cs

示例12: TemplatePageBase

 // -------------------------------------------------------------------------------------
 /// <summary>
 /// Primary key based constructor
 /// </summary>
 /// <param name="TemplateRefVal">Value of 'uTemplateRef' field</param>
 /// <param name="PageIndexVal">Value of 'nPageIndex' field</param>
 // -------------------------------------------------------------------------------------
 public TemplatePageBase(DBGuid TemplateRefVal,
                     DBInt PageIndexVal)
 {
     ResetExceptions();
       m_TemplateRef = TemplateRefVal;
       m_PageIndex = PageIndexVal;
 }
开发者ID:bmadarasz,项目名称:ndihelpdesk,代码行数:14,代码来源:TemplatePageBase.cs

示例13: ProgramPartnerBase

 // -------------------------------------------------------------------------------------
 /// <summary>
 /// Primary key based constructor
 /// </summary>
 /// <param name="OrganisationRefVal">Value of 'uOrganisationRef' field</param>
 /// <param name="ProgramRefVal">Value of 'uProgramRef' field</param>
 // -------------------------------------------------------------------------------------
 public ProgramPartnerBase(DBGuid OrganisationRefVal,
                       DBGuid ProgramRefVal)
 {
     ResetExceptions();
       m_OrganisationRef = OrganisationRefVal;
       m_ProgramRef = ProgramRefVal;
 }
开发者ID:bmadarasz,项目名称:ndihelpdesk,代码行数:14,代码来源:ProgramPartnerBase.cs

示例14: DictionaryAssocBase

 // -------------------------------------------------------------------------------------
 /// <summary>
 /// Primary key based constructor
 /// </summary>
 /// <param name="WordIDVal">Value of 'uWordID' field</param>
 /// <param name="RefWordIdVal">Value of 'uRefWordId' field</param>
 // -------------------------------------------------------------------------------------
 public DictionaryAssocBase(DBGuid WordIDVal,
                        DBGuid RefWordIdVal)
 {
     ResetExceptions();
       m_WordID = WordIDVal;
       m_RefWordId = RefWordIdVal;
 }
开发者ID:bmadarasz,项目名称:ndihelpdesk,代码行数:14,代码来源:DictionaryAssocBase.cs

示例15: ProgramRegionBase

 // -------------------------------------------------------------------------------------
 /// <summary>
 /// Primary key based constructor
 /// </summary>
 /// <param name="ProgramRefVal">Value of 'uProgramRef' field</param>
 /// <param name="RegionRefVal">Value of 'cRegionRef' field</param>
 // -------------------------------------------------------------------------------------
 public ProgramRegionBase(DBGuid ProgramRefVal,
                      DBString RegionRefVal)
 {
     ResetExceptions();
       m_ProgramRef = ProgramRefVal;
       m_RegionRef = RegionRefVal;
 }
开发者ID:bmadarasz,项目名称:ndihelpdesk,代码行数:14,代码来源:ProgramRegionBase.cs


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