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; }
public virtual IMemberApp GetByApp(Type t, long appId) { AppInstaller appInfo = appInfoService.GetByType(t); return(GetByApp(appInfo.Id, appId)); }
public IMemberApp GetByApp(Type t, int appId) { AppInstaller appInfo = appInfoService.GetByType(t); return(GetByApp(appInfo.Id, appId)); }