本文整理匯總了C#中Ndi.HelpDesk.DataAccess.DataContext類的典型用法代碼示例。如果您正苦於以下問題:C# DataContext類的具體用法?C# DataContext怎麽用?C# DataContext使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
DataContext類屬於Ndi.HelpDesk.DataAccess命名空間,在下文中一共展示了DataContext類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: EDocumentLanguageService
// -------------------------------------------------------------------------------------
/// <summary>
/// Creates the EDocumentLanguageService with the specified data context.
/// </summary>
/// <param name="dataContext">Data context of the service.</param>
// -------------------------------------------------------------------------------------
public EDocumentLanguageService(DataContext dataContext)
: base(dataContext)
{
}
示例2: JobOfferServiceBase
// -------------------------------------------------------------------------------------
/// <summary>
/// Creates the JobOfferService with a default data context.
/// </summary>
// -------------------------------------------------------------------------------------
public JobOfferServiceBase()
{
m_DataContext = new DataContext();
}
示例3: KefContactTypeServiceBase
// -------------------------------------------------------------------------------------
/// <summary>
/// Creates the KefContactTypeService with a default data context.
/// </summary>
// -------------------------------------------------------------------------------------
public KefContactTypeServiceBase()
{
m_DataContext = new DataContext();
}
示例4: OrganisationFormServiceBase
// -------------------------------------------------------------------------------------
/// <summary>
/// Creates the OrganisationFormService with the specified data context.
/// </summary>
/// <param name="dataContext">Data context of the service.</param>
// -------------------------------------------------------------------------------------
public OrganisationFormServiceBase(DataContext dataContext)
{
m_DataContext = dataContext;
}
示例5: EDocumentCategoryService
// -------------------------------------------------------------------------------------
/// <summary>
/// Creates the EDocumentCategoryService with the specified data context.
/// </summary>
/// <param name="dataContext">Data context of the service.</param>
// -------------------------------------------------------------------------------------
public EDocumentCategoryService(DataContext dataContext)
: base(dataContext)
{
}
示例6: JobOfferAttachmentServiceBase
// -------------------------------------------------------------------------------------
/// <summary>
/// Creates the JobOfferAttachmentService with the specified data context.
/// </summary>
/// <param name="dataContext">Data context of the service.</param>
// -------------------------------------------------------------------------------------
public JobOfferAttachmentServiceBase(DataContext dataContext)
{
m_DataContext = dataContext;
}
示例7: ProgramServiceBase
// -------------------------------------------------------------------------------------
/// <summary>
/// Creates the ProgramService with the specified data context.
/// </summary>
/// <param name="dataContext">Data context of the service.</param>
// -------------------------------------------------------------------------------------
public ProgramServiceBase(DataContext dataContext)
{
m_DataContext = dataContext;
}
示例8: ForumThreadServiceBase
// -------------------------------------------------------------------------------------
/// <summary>
/// Creates the ForumThreadService with a default data context.
/// </summary>
// -------------------------------------------------------------------------------------
public ForumThreadServiceBase()
{
m_DataContext = new DataContext();
}
示例9: DesignerDrogCategoryServiceBase
// -------------------------------------------------------------------------------------
/// <summary>
/// Creates the DesignerDrogCategoryService with a default data context.
/// </summary>
// -------------------------------------------------------------------------------------
public DesignerDrogCategoryServiceBase()
{
m_DataContext = new DataContext();
}
示例10: TemplateCategoryServiceBase
// -------------------------------------------------------------------------------------
/// <summary>
/// Creates the TemplateCategoryService with the specified data context.
/// </summary>
/// <param name="dataContext">Data context of the service.</param>
// -------------------------------------------------------------------------------------
public TemplateCategoryServiceBase(DataContext dataContext)
{
m_DataContext = dataContext;
}
示例11: SearchCategoryService
// -------------------------------------------------------------------------------------
/// <summary>
/// Creates the SearchCategoryService with the specified data context.
/// </summary>
/// <param name="dataContext">Data context of the service.</param>
// -------------------------------------------------------------------------------------
public SearchCategoryService(DataContext dataContext)
: base(dataContext)
{
}
示例12: EDocumentPublisherServiceBase
// -------------------------------------------------------------------------------------
/// <summary>
/// Creates the EDocumentPublisherService with the specified data context.
/// </summary>
/// <param name="dataContext">Data context of the service.</param>
// -------------------------------------------------------------------------------------
public EDocumentPublisherServiceBase(DataContext dataContext)
{
m_DataContext = dataContext;
}
示例13: OrgMemberOfOrgServiceBase
// -------------------------------------------------------------------------------------
/// <summary>
/// Creates the OrgMemberOfOrgService with a default data context.
/// </summary>
// -------------------------------------------------------------------------------------
public OrgMemberOfOrgServiceBase()
{
m_DataContext = new DataContext();
}
示例14: CompetitionService
// -------------------------------------------------------------------------------------
/// <summary>
/// Creates the CompetitionService with the specified data context.
/// </summary>
/// <param name="dataContext">Data context of the service.</param>
// -------------------------------------------------------------------------------------
public CompetitionService(DataContext dataContext)
: base(dataContext)
{
}
示例15: EventPropertyService
// -------------------------------------------------------------------------------------
/// <summary>
/// Creates the EventPropertyService with the specified data context.
/// </summary>
/// <param name="dataContext">Data context of the service.</param>
// -------------------------------------------------------------------------------------
public EventPropertyService(DataContext dataContext)
: base(dataContext)
{
}