Ejemplo n.º 1
0
 /// <summary>
 /// Static method to get a datacontext by sending a dynamic service uri instead of the one from the appsettings
 /// </summary>
 /// <param name="dataServiceUri">The uri of the Wellable data service</param>
 /// <returns></returns>
 public static WellableDbEntities WellableDb(string dataServiceUri)
 {
     WellableBusinessService.WellableData.WellableDbEntities proxy = new
                                                                     WellableBusinessService.WellableData.WellableDbEntities(new Uri(dataServiceUri));
     return(proxy);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Static method to get a datacontext by sending a dynamic service uri instead of the one from the appsettings
 /// </summary>
 /// <param name="dataServiceUri">The uri of the Wellable data service</param>
 /// <returns></returns>
 public static WellableDbEntities WellableDb(string dataServiceUri)
 {
     WellableBusinessService.WellableData.WellableDbEntities proxy = new
     WellableBusinessService.WellableData.WellableDbEntities(new Uri(dataServiceUri));
     return proxy;
 }