コード例 #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
ファイル: SiteAppService.cs プロジェクト: zhdwwf/wojilu
        public IMemberApp GetByApp(Type t, int appId)
        {
            AppInstaller appInfo = appInfoService.GetByType(t);

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