コード例 #1
0
 public UserLoginsTable(dynamic db, Tables tables) 
 {
     _db = db;
     _tables = tables;
 }
コード例 #2
0
 public UserRoleTable(dynamic db, Tables tables) 
 {
     _db = db;
     _tables = tables;
 }
コード例 #3
0
 public UserLoginsTable(dynamic db, Tables tables)
 {
     _db     = db;
     _tables = tables;
 }
コード例 #4
0
 public UserClaimsTable(dynamic db, Tables tables)
 {
     _db     = db;
     _tables = tables;
 }
コード例 #5
0
 /// <summary>
 /// Constructor that initializes a new
 /// instance using the named connection string
 ///
 /// Uses the table names provided
 /// </summary>
 public RoleStore(string connectionName, Tables tables)
 {
     Tables   = tables ?? new Tables();
     _storage = connectionName == null ? new Storage <IdentityUser, TRole>(Tables) : new Storage <IdentityUser, TRole>(connectionName, Tables);
 }
コード例 #6
0
 /// <summary>
 /// Constructor that initializes a new
 /// instance using the default Simple.Data connection string
 /// from properties.
 ///
 /// Uses the table names provided
 /// </summary>
 public RoleStore(Tables tables) : this(null, tables)
 {
 }
コード例 #7
0
 public RoleTable(dynamic db, Tables tables)
 {
     _db     = db;
     _tables = tables;
 }