示例#1
0
        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();
        }