Esempio n. 1
0
        protected override Entity DoGetById(object id, EagerLoadOptions eagerLoad)
        {
            var res = new RafyIdentity
            {
                User = RF.ResolveInstance <UserRepository>().GetById(id) as User
            };

            res.LoadChildrenProperties();

            this.NotifyLoaded(res);

            return(res);
        }
Esempio n. 2
0
        internal RafyIdentity GetBy(string username, string password)
        {
            var res = new RafyIdentity
            {
                User = RF.ResolveInstance <UserRepository>().GetBy(username, password)
            };

            res.LoadChildrenProperties();

            this.NotifyLoaded(res);

            return(res);
        }
Esempio n. 3
0
 private RafyPrincipal(RafyIdentity realIdentity)
 {
     this._userId      = realIdentity.Id;
     this._edsIdentity = realIdentity;
 }
Esempio n. 4
0
 public void Insert(int index, RafyIdentity entity)
 {
     base.Insert(index, entity);
 }
Esempio n. 5
0
 public int IndexOf(RafyIdentity entity)
 {
     return(base.IndexOf(entity));
 }
Esempio n. 6
0
 public bool Contains(RafyIdentity entity)
 {
     return(base.Contains(entity));
 }
Esempio n. 7
0
 public void Add(RafyIdentity entity)
 {
     base.Add(entity);
 }
Esempio n. 8
0
 public bool Remove(RafyIdentity entity)
 {
     return(base.Remove(entity));
 }