/// <summary> /// 保存记录 /// </summary> #region bool DAO_Update((T entity) public static bool DAO_Update(T entity) { try { ActiveRecordBase <T> .Update(entity); return(true); } catch (Exception ex) { //LogHelper.WriteLog(LogTag + ".Update((T entity) ", ex); return(false); } }
public new void Update(T t) { ActiveRecordBase.Update(t); }
/// <summary> /// 修改提交 /// </summary> /// <param name="entity"></param> public new void Update(T entity) { ActiveRecordBase.Update(entity); }
public static void UpdateLater(this ActiveRecordBase record) { RealmServer.IOQueue.AddMessage(() => record.Update()); // leave it as a Lambda Expr to get a complete stacktrace }
public static void UpdateLater(this ActiveRecordBase record) { ServerApp <WCell.RealmServer.RealmServer> .IOQueue.AddMessage((Action)(() => record.Update())); }
/// <summary> /// 修改实体 /// </summary> public void Edit(T t) { ActiveRecordBase.Update(t); }
/// <summary> /// 修改 /// </summary> /// <param name="entity"></param> /// <returns></returns> public static void Update(T entity) { ActiveRecordBase.Update(entity); }