當前位置: 首頁>>代碼示例>>C#>>正文


C# DataAccess.DataContext類代碼示例

本文整理匯總了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)
 {
 }
開發者ID:bmadarasz,項目名稱:ndihelpdesk,代碼行數:10,代碼來源:EDocumentLanguageService.cs

示例2: JobOfferServiceBase

 // -------------------------------------------------------------------------------------
 /// <summary>
 /// Creates the JobOfferService with a default data context.
 /// </summary>
 // -------------------------------------------------------------------------------------
 public JobOfferServiceBase()
 {
     m_DataContext = new DataContext();
 }
開發者ID:bmadarasz,項目名稱:ndihelpdesk,代碼行數:9,代碼來源:JobOfferServiceBase.cs

示例3: KefContactTypeServiceBase

 // -------------------------------------------------------------------------------------
 /// <summary>
 /// Creates the KefContactTypeService with a default data context.
 /// </summary>
 // -------------------------------------------------------------------------------------
 public KefContactTypeServiceBase()
 {
     m_DataContext = new DataContext();
 }
開發者ID:bmadarasz,項目名稱:ndihelpdesk,代碼行數:9,代碼來源:KefContactTypeServiceBase.cs

示例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;
 }
開發者ID:bmadarasz,項目名稱:ndihelpdesk,代碼行數:10,代碼來源:OrganisationFormServiceBase.cs

示例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)
 {
 }
開發者ID:bmadarasz,項目名稱:ndihelpdesk,代碼行數:10,代碼來源:EDocumentCategoryService.cs

示例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;
 }
開發者ID:bmadarasz,項目名稱:ndihelpdesk,代碼行數:10,代碼來源:JobOfferAttachmentServiceBase.cs

示例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;
 }
開發者ID:bmadarasz,項目名稱:ndihelpdesk,代碼行數:10,代碼來源:ProgramServiceBase.cs

示例8: ForumThreadServiceBase

 // -------------------------------------------------------------------------------------
 /// <summary>
 /// Creates the ForumThreadService with a default data context.
 /// </summary>
 // -------------------------------------------------------------------------------------
 public ForumThreadServiceBase()
 {
     m_DataContext = new DataContext();
 }
開發者ID:bmadarasz,項目名稱:ndihelpdesk,代碼行數:9,代碼來源:ForumThreadServiceBase.cs

示例9: DesignerDrogCategoryServiceBase

 // -------------------------------------------------------------------------------------
 /// <summary>
 /// Creates the DesignerDrogCategoryService with a default data context.
 /// </summary>
 // -------------------------------------------------------------------------------------
 public DesignerDrogCategoryServiceBase()
 {
     m_DataContext = new DataContext();
 }
開發者ID:bmadarasz,項目名稱:ndihelpdesk,代碼行數:9,代碼來源:DesignerDrogCategoryServiceBase.cs

示例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;
 }
開發者ID:bmadarasz,項目名稱:ndihelpdesk,代碼行數:10,代碼來源:TemplateCategoryServiceBase.cs

示例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)
 {
 }
開發者ID:bmadarasz,項目名稱:ndihelpdesk,代碼行數:10,代碼來源:SearchCategoryService.cs

示例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;
 }
開發者ID:bmadarasz,項目名稱:ndihelpdesk,代碼行數:10,代碼來源:EDocumentPublisherServiceBase.cs

示例13: OrgMemberOfOrgServiceBase

 // -------------------------------------------------------------------------------------
 /// <summary>
 /// Creates the OrgMemberOfOrgService with a default data context.
 /// </summary>
 // -------------------------------------------------------------------------------------
 public OrgMemberOfOrgServiceBase()
 {
     m_DataContext = new DataContext();
 }
開發者ID:bmadarasz,項目名稱:ndihelpdesk,代碼行數:9,代碼來源:OrgMemberOfOrgServiceBase.cs

示例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)
 {
 }
開發者ID:bmadarasz,項目名稱:ndihelpdesk,代碼行數:10,代碼來源:CompetitionService.cs

示例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)
 {
 }
開發者ID:bmadarasz,項目名稱:ndihelpdesk,代碼行數:10,代碼來源:EventPropertyService.cs


注:本文中的Ndi.HelpDesk.DataAccess.DataContext類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。