예제 #1
0
파일: MapFunction.cs 프로젝트: dedels/Bunk
        public void Setup(DesignDoc dd, string element_name)
        {
            this.Name = element_name;
            this.dd   = dd;

            this.viewUrl = this.dd.viewUrl.Add("_view", this.Name);
        }
예제 #2
0
파일: DesignDoc.cs 프로젝트: dedels/Bunk
        public DesignDoc(DB db, string name = null)
        {
            this.db = db;
            this.ID = name ?? this.TYPE;

            this.viewUrl = this.db.couchUrl.Add("_design", this.ID);

            this.SetupEmbedded();
        }