/// <summary> /// 添加一条日志 /// </summary> /// <param name="model">要添加的日志对象</param> /// <returns>添加结果</returns> public void Add(LogModel model) { model.ID = Guid.NewGuid(); SQLServerManager.Insert(model); }
/// <summary> /// 添加一条日志 /// </summary> /// <param name="model">要添加的日志对象</param> /// <returns>添加结果</returns> public void Add(LogModel model) { model.ID = Guid.NewGuid(); SQLServerManager.Insert(model); }