Пример #1
0
        public virtual IMemberApp GetByApp(Type t, long appId)
        {
            AppInstaller appInfo = appInfoService.GetByType(t);
            String       c       = "AppInfoId=" + appInfo.Id + " and AppOid=" + appId;

            return(ndb.find(thisType(), c).first() as IMemberApp);
            //return getObj().find( string.Concat( new object[] { "AppInfoId=", appInfo.Id, " and AppOid=", appId } ) ).first() as IUserApp;
        }
Пример #2
0
        public virtual IMemberApp GetByApp(Type t, long appId)
        {
            AppInstaller appInfo = appInfoService.GetByType(t);

            return(GetByApp(appInfo.Id, appId));
        }
Пример #3
0
        public IMemberApp GetByApp(Type t, int appId)
        {
            AppInstaller appInfo = appInfoService.GetByType(t);

            return(GetByApp(appInfo.Id, appId));
        }