示例#1
0
        public UnitOfWork(string tenantId)
        {
            //we should really pass this in, or retreive from a config file etc.
            string connectionString = "UseDevelopmentStorage=true;";//DevelopmentStorageProxyUri=http://myProxyUri

            this.context = new AzureContext(connectionString, tenantId);
        }
 public RepositoryBase(AzureContext context)
 {
     this.context = context;
     this.dbset   = context.Set <TEntity>();
 }