Пример #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);
        }
Пример #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);
        }
Пример #3
0
 private RafyPrincipal(RafyIdentity realIdentity)
 {
     this._userId      = realIdentity.Id;
     this._edsIdentity = realIdentity;
 }
Пример #4
0
 public void Insert(int index, RafyIdentity entity)
 {
     base.Insert(index, entity);
 }
Пример #5
0
 public int IndexOf(RafyIdentity entity)
 {
     return(base.IndexOf(entity));
 }
Пример #6
0
 public bool Contains(RafyIdentity entity)
 {
     return(base.Contains(entity));
 }
Пример #7
0
 public void Add(RafyIdentity entity)
 {
     base.Add(entity);
 }
Пример #8
0
 public bool Remove(RafyIdentity entity)
 {
     return(base.Remove(entity));
 }