C# Class a7DocumentDbStudio.Model.DocumentModel

Inheritance: DocumentDbModelBase
显示文件 Open project: alekkowalczyk/a7DocumentDbStudio Class Usage Examples

Public Methods

Method Description
ChangePropertyValue ( string propertyPath, object newValue ) : System.Threading.Tasks.Task
DocumentModel ( Microsoft.Azure.Documents.Client.DocumentClient client, CollectionModel sourceCollection, Document document ) : Microsoft.Azure.Documents
ReplaceFromString ( string str ) : System.Threading.Tasks.Task
ToString ( ) : string
this ( string key ) : string

Private Methods

Method Description
toOrderedJToken ( ) : JToken

gets the _* properties at the bottom

Method Details

ChangePropertyValue() public method

public ChangePropertyValue ( string propertyPath, object newValue ) : System.Threading.Tasks.Task
propertyPath string
newValue object
return System.Threading.Tasks.Task

DocumentModel() public method

public DocumentModel ( Microsoft.Azure.Documents.Client.DocumentClient client, CollectionModel sourceCollection, Document document ) : Microsoft.Azure.Documents
client Microsoft.Azure.Documents.Client.DocumentClient
sourceCollection CollectionModel
document Document
return Microsoft.Azure.Documents

ReplaceFromString() public method

public ReplaceFromString ( string str ) : System.Threading.Tasks.Task
str string
return System.Threading.Tasks.Task

ToString() public method

public ToString ( ) : string
return string

this() public method

public this ( string key ) : string
key string
return string