本文整理汇总了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)
{
}