private CouchDbMembershipUserRepository getMembershipRepository() { if (membershipRepository == null) { membershipRepository = new CouchDbMembershipUserRepository(couchDbServerName, couchDbServerPort, couchDbDatabaseName); } return(membershipRepository); }
internal CouchDbMembershipUserRepository getRepository() { if (repository == null) { repository = new CouchDbMembershipUserRepository( ConfigurationHelper.MembershipCouchDbServerName, ConfigurationHelper.MembershipCouchDbServerPort, ConfigurationHelper.MembershipCouchDbDatabaseName); } return(repository); }
public override MembershipUserCollection GetAllUsers(int pageIndex, int pageSize, out int totalRecords) { var db = new CouchDbMembershipUserRepository(couchDbServerName, couchDbServerPort, couchDbDatabaseName); totalRecords = 0; var returnCollection = new MembershipUserCollection(); foreach (dynamic mu in db.GetAll()) { returnCollection.Add(CouchDbMembershipUser.FromDynamicDbResponse(mu.value)); } return(returnCollection); }
internal CouchDbMembershipUserRepository getRepository() { if (repository == null) repository = new CouchDbMembershipUserRepository( ConfigurationHelper.MembershipCouchDbServerName, ConfigurationHelper.MembershipCouchDbServerPort, ConfigurationHelper.MembershipCouchDbDatabaseName); return repository; }
private CouchDbMembershipUserRepository getRepository() { if(repository == null) repository = new CouchDbMembershipUserRepository(couchDbServerName, couchDbServerPort, couchDbDatabaseName); return repository; }
public override MembershipUserCollection GetAllUsers(int pageIndex, int pageSize, out int totalRecords) { var db = new CouchDbMembershipUserRepository(couchDbServerName, couchDbServerPort, couchDbDatabaseName); totalRecords = 0; var returnCollection = new MembershipUserCollection(); foreach (dynamic mu in db.GetAll()) { returnCollection.Add(CouchDbMembershipUser.FromDynamicDbResponse(mu.value)); } return returnCollection; }