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); }
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); }