/// <summary>
 /// Initializes a new instance of the <see cref="EmployeeBoService"/> class.
 /// </summary>
 public EmployeeBoService()
 {
     //Tips:Here is we cannot use Singleton lifecyle mode because one EF dbcontent make same result per select dataset
     this.ebo = ServiceFactory.GetInstance<IEmployeeBusinessObject>("NoOLazyloadedAndProxyCreated");
     this.contactebo = ServiceFactory.GetInstance<IContactBusinessObject>();
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EmployeeBoService"/> class.
 /// </summary>
 public EmployeeBoService()
 {
     //Tips:Here is we cannot use Singleton lifecyle mode because one EF dbcontent make same result per select dataset
     this.ebo        = ServiceFactory.GetInstance <IEmployeeBusinessObject>("NoOLazyloadedAndProxyCreated");
     this.contactebo = ServiceFactory.GetInstance <IContactBusinessObject>();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RESTEmployeeService"/> class.
 /// </summary>
 public RESTEmployeeService()
 {
     this.ebo          = ServiceFactory.GetInstance <IEmployeeBusinessObject>("NoOLazyloadedAndProxyCreated");
     this.enityadapter = new EmployeeAdapter();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RESTEmployeeService"/> class.
 /// </summary>
 public RESTEmployeeService()
 {
     this.ebo = ServiceFactory.GetInstance<IEmployeeBusinessObject>("NoOLazyloadedAndProxyCreated");
     this.enityadapter = new EmployeeAdapter();
 }