Sets the partition key property of the IDataModel and if there are properties with protection settings protects the properties by encrypting or hashing them.
Initializes a new instance of MultitenantDataModelModelBinder.
public Void MultitenantDataModelModelBinder(cryptographer, defaultBinder)
Name | Type | Summary |
---|---|---|
cryptographer | ICryptographer | |
defaultBinder | IModelBinder |
Binds the model.
public Task BindModelAsync(bindingContext)
Name | Type | Summary |
---|---|---|
bindingContext | ModelBindingContext |
In this document