public void Dispose()
 {
     if (DocumentCategoryRepository != null)
     {
         DocumentCategoryRepository.Dispose();
         DocumentCategoryRepository = null;
     }
 }
 public void Init()
 {
     ctx = EFContext.CreateContext();
     repo = new DocumentCategoryRepository(ctx);
 }
Example #3
0
 public void Init()
 {
     ctx  = EFContext.CreateContext();
     repo = new DocumentCategoryRepository(ctx);
 }
 public DocumentViewBLL()
 {
     DocumentCategoryRepository = new DocumentCategoryRepository();
 }
 public DocumentCategoryService()
 {
     documentCategoryRepository = new DocumentCategoryRepository();
 }