Ejemplo n.º 1
0
 public ErrorSuggestionRepository(STEInterfacesEntities context)
 {
     try
     {
         this.db = context;
     }
     catch (Exception)
     {
         throw;
     }
 }
Ejemplo n.º 2
0
 public ApplicationMasterRepository(STEInterfacesEntities context)
 {
     try
     {
         this.db = context;
     }
     catch (Exception)
     {
         throw;
     }
 }
 public ErrorInboundDataRepository(STEInterfacesEntities context)
 {
     try
     {
         this.db = context;
     }
     catch (Exception)
     {
         throw;
     }
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="db"></param>
 public LocationCustomRepository(STEInterfacesEntities db)
 {
     try
     {
         this.db = db;
         table   = db.Set <Location_SYD>();
     }
     catch (Exception ex)
     {
         Logger.Instance.GetLogInstance().Error(JsonConvert.SerializeObject(ex));
     }
 }
Ejemplo n.º 5
0
 /// <summary>
 ///
 /// </summary>
 public GenericRepository()
 {
     try
     {
         this.db = new STEInterfacesEntities();
         table   = db.Set <T>();
     }
     catch (Exception ex)
     {
         Logger.Instance.GetLogInstance().Error(JsonConvert.SerializeObject(ex));
     }
 }