Esempio n. 1
0
 /// <summary>
 /// Sets the format case for documents. Default: underscore_case.
 /// </summary>
 /// <param name="type">The type of case format.</param>
 /// <returns>Return the current instance to chain calls.</returns>
 public virtual CouchOptionsBuilder SetDocumentCase(DocumentCaseType type)
 {
     Options.DocumentsCaseType = type;
     return(this);
 }
Esempio n. 2
0
 /// <summary>
 /// Sets the format case for documents. Default: underscore_case.
 /// </summary>
 /// <param name="type">The type of case format.</param>
 /// <returns>Return the current instance to chain calls.</returns>
 public new virtual CouchOptionsBuilder <TContext> SetDocumentCase(DocumentCaseType type)
 => (CouchOptionsBuilder <TContext>)base.SetDocumentCase(type);