protected DataAccessBase()
 {
     entities = new EProcEntities();
     entities.CommandTimeout = 0;
     entityConnection        = (EntityConnection)entities.Connection;
     //Result = new AppResult();
 }
Esempio n. 2
0
 protected DataAccessBase(EProcEntities context)
 {
     if (entities == null)
     {
         entities = new EProcEntities();
     }
     else
     {
         entities = context;
     }
     entityConnection = (EntityConnection)entities.Connection;
     //Result = new AppResult();
 }