Exemple #1
0
        public UnitOfWork()
        {
            var connString = "";

            if (string.IsNullOrEmpty(connString))
            {
                context = new GSMAContext();
            }
            else
            {
                context = new GSMAContext(connString);
            }
        }
Exemple #2
0
 public Repository(GSMAContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }