Esempio n. 1
0
 public virtual IQueryable <T> All(Kooboo.CMS.Membership.Models.Membership membership)
 {
     return(_dbContext.Set <T>().Where(it => it.Membership.Name == membership.Name));
 }
 public override MembershipConnect Get(MembershipConnect dummy)
 {
     return(_dbContext.Set <MembershipConnect>().Where(it => it.Membership.Name == dummy.Membership.Name && it.Name == dummy.Name)
            .FirstOrDefault());
 }
Esempio n. 3
0
 public IEnumerable <Kooboo.CMS.Membership.Models.Membership> All()
 {
     return(_dbContext.Set <Kooboo.CMS.Membership.Models.Membership>());
 }
 public override MembershipGroup Get(Models.MembershipGroup dummy)
 {
     return(_dbContext.Set <MembershipGroup>().Where(it => it.Membership.Name == dummy.Membership.Name && it.Name == dummy.Name).FirstOrDefault());
 }
 public MembershipUser QueryUserByEmail(Kooboo.CMS.Membership.Models.Membership membership, string email)
 {
     return(_dbContext.Set <MembershipUser>().Where(it => it.Membership.Name == membership.Name && it.Email == email)
            .FirstOrDefault());
 }