Esempio n. 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);
		}
Esempio n. 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);
        }