Exemplo n.º 1
0
        public bool Delete(string appID)
        {
            APP_INFO entity = new APP_INFO();

            entity.APP_ID = appID;
            return(Delete <APP_INFO>(entity));
        }
Exemplo n.º 2
0
        public APP_INFO GetAppInfoByAppKey(string appKey)
        {
            APP_INFO entity = new APP_INFO();

            using (var db = CreateDbBase())
            {
                var sql = SqlQuery <APP_INFO> .Builder(db)
                          .AndWhere(m => m.APP_KEY, OperationMethod.Equal, appKey);

                entity = db.SingleOrDefault <APP_INFO>(sql);
            }
            return(entity);
        }
Exemplo n.º 3
0
 public bool Update(APP_INFO appInfo)
 {
     return(Update <APP_INFO>(appInfo));
 }
Exemplo n.º 4
0
 public bool Insert(APP_INFO appInfo)
 {
     return(Insert <APP_INFO>(appInfo));
 }
Exemplo n.º 5
0
 public static bool Update(APP_INFO appInfo)
 {
     appInfo.MODIFY_TIME = DateTime.Now;
     return(appInfoDal.Update(appInfo));
 }
Exemplo n.º 6
0
 public static bool Insert(APP_INFO appInfo)
 {
     appInfo.APP_ID      = Guid.NewGuid().ToString();
     appInfo.CREATE_TIME = DateTime.Now;
     return(appInfoDal.Insert(appInfo));
 }