StoreOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Used for store specific options
public ref class StoreOptions
public class StoreOptions
type StoreOptions = class
Public Class StoreOptions
- Inheritance
-
StoreOptions
Constructors
StoreOptions() |
Properties
MaxLengthForKeys |
If set to a positive number, the default OnModelCreating will use this value as the max length for any properties used as keys, i.e. UserId, LoginProvider, ProviderKey. |
ProtectPersonalData |
If set to true, the store must protect all personally identifying data for a user. This will be enforced by requiring the store to implement IProtectedUserStore<TUser>. |
SchemaVersion |
The schema version for the store, the default is 0.0 which leaves it up to the store to determine what version should be used. |