public CouchDesignDocument NewDesignDocument(string aName) { var newDoc = new CouchDesignDocument(aName, this); DesignDocuments.Add(newDoc); return(newDoc); }
public CouchShowDefinition(string name, string list, CouchDesignDocument doc) : base(name, doc) { Show = list; }
public CouchShowDefinition(string name, CouchDesignDocument doc) : base(name, doc) { }
public CouchListDefinition(string name, string list, CouchDesignDocument doc) : base(name, doc) { List = list; }
/// <summary> /// Constructor used for permanent views, see CouchDesignDocument. /// </summary> /// <param name="name">View name.</param> /// <param name="map">Map function.</param> /// <param name="reduce">Optional reduce function.</param> /// <param name="doc">Parent document.</param> public CouchViewDefinition(string name, string map, string reduce, CouchDesignDocument doc) : base(name, doc) { Map = map; Reduce = reduce; }