public bool Delete(string appID) { APP_INFO entity = new APP_INFO(); entity.APP_ID = appID; return(Delete <APP_INFO>(entity)); }
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); }
public bool Update(APP_INFO appInfo) { return(Update <APP_INFO>(appInfo)); }
public bool Insert(APP_INFO appInfo) { return(Insert <APP_INFO>(appInfo)); }
public static bool Update(APP_INFO appInfo) { appInfo.MODIFY_TIME = DateTime.Now; return(appInfoDal.Update(appInfo)); }
public static bool Insert(APP_INFO appInfo) { appInfo.APP_ID = Guid.NewGuid().ToString(); appInfo.CREATE_TIME = DateTime.Now; return(appInfoDal.Insert(appInfo)); }