本文整理汇总了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;
}
示例2: frmTemplateEdit
/// <summary>
/// Default constructor (new)
/// </summary>
public frmTemplateEdit()
{
// Required for Windows Form Designer support
InitializeComponent();
m_CurrentTemplateID = new DBGuid();
m_insert = true;
}
示例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;
}
}
示例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;
}
示例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;
}
}
示例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;
}
示例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;
}
示例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;
}
}
示例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)
{
}
示例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;
}
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}