Beispiel #1
0
        public Application GetApp(String Appid, String AppPwd)
        {
            var fac = new SqlServer.ObjectContext <Soway.Model.App.Application>(this.SqlCon, this.ConFac);

            var app = fac.GetDetail(Appid);

            if (app != null && app.AppKey == AppPwd)
            {
                return(app);
            }
            else
            {
                return(null);
            }
        }
Beispiel #2
0
        public Application GetApp(String Appid)
        {
            var fac = new SqlServer.ObjectContext <Soway.Model.App.Application>(this.SqlCon, this.ConFac);

            return(fac.GetDetail(Appid));
        }