public BaseManager(string endpointUrl, string primaryKey) { telemetria = new Trace(); try { if (endpointUrl.Equals(string.Empty) || primaryKey.Equals(string.Empty)) { Inicialization(); context = new KindAdsV2DataAccess(this.endpointUrl, this.primaryKey); } else { context = new KindAdsV2DataAccess(endpointUrl, primaryKey); } } catch (Exception e) { var messageException = telemetria.MakeMessageException(e, System.Reflection.MethodBase.GetCurrentMethod().Name); telemetria.Critical(messageException); } }
public BaseManager() { telemetria = new Trace(); Inicialization(); context = new KindAdsV2DataAccess(endpointUrl, primaryKey); }