Example #1
0
		/// <constructor />
		public DatabaseApi(CouchApi parent, DbUriConstructor uriConstructor)
		{
			if (parent == null) throw new ArgumentNullException("parent");

			this.parent = parent;
			this.uriConstructor = uriConstructor;
			Synchronously = new SynchronousDatabaseApi(this);
		}
Example #2
0
        /// <constructor />
        public DatabaseApi(CouchApi parent, DbUriConstructor uriConstructor)
        {
            if (parent == null)
            {
                throw new ArgumentNullException("parent");
            }

            this.parent         = parent;
            this.uriConstructor = uriConstructor;
            Synchronously       = new SynchronousDatabaseApi(this);
        }