diff --git a/UserStore.cs b/UserStore.cs index 93613eb..c5ead62 100644 --- a/UserStore.cs +++ b/UserStore.cs @@ -19,6 +19,26 @@ public class UserStore : IUserLoginStore, IUserClaimStore, IUserPasswordStore, IUserSecurityStampStore where TUser : IdentityUser { + + #region Properties + + /// + /// Get/Set the name of collection by default is AspNetUsers + /// + public string CollectionName + { + get + { + return collectionName; + } + set + { + collectionName = value; + } + } + + #endregion + #region Private Methods & Variables /// @@ -32,9 +52,9 @@ public class UserStore : IUserLoginStore, IUserClaimStore, private bool _disposed; /// - /// The AspNetUsers collection name + /// The AspNetUsers collection name default /// - private const string collectionName = "AspNetUsers"; + private string collectionName = "AspNetUsers"; /// /// Gets the database from connection string.