C# Class TrueVault.Net.Dto.JsonStore.DocumentSaveRequestDto

显示文件 Open project: hsrob/TrueVault.Net

Public Methods

Method Description
DocumentSaveRequestDto ( string jsonDocument ) : System

Creates a Document request DTO for POST or PUT operations, accepting a serialized JSON string, which will automatically be converted to Base64.

DocumentSaveRequestDto ( string jsonDocument, System.Guid schemaId ) : System

Creates a Document request DTO for POST or PUT operations, accepting a serialized JSON string, which will automatically be converted to Base64. This document will be associated with the provided Search Engine Schema ID.

Method Details

DocumentSaveRequestDto() public method

Creates a Document request DTO for POST or PUT operations, accepting a serialized JSON string, which will automatically be converted to Base64.
public DocumentSaveRequestDto ( string jsonDocument ) : System
jsonDocument string /// A serialized JSON string representing the document to be stored, which will automatically be /// converted to Base64. ///
return System

DocumentSaveRequestDto() public method

Creates a Document request DTO for POST or PUT operations, accepting a serialized JSON string, which will automatically be converted to Base64. This document will be associated with the provided Search Engine Schema ID.
public DocumentSaveRequestDto ( string jsonDocument, System.Guid schemaId ) : System
jsonDocument string /// A serialized JSON string representing the document to be stored, which will automatically be /// converted to Base64. ///
schemaId System.Guid The Search Engine Schema ID to associate this document with
return System