/// <summary>Implements <see cref="ISys_FunctionService.Insert"/></summary> public void Insert(Sys_Function obj) { if (obj == null) { throw new ArgumentNullException("obj"); } _repository.Insert(obj); }
/// <summary> /// 写入实体数据 /// </summary> /// <param name="entity">实体类</param> /// <returns></returns> public long Insert(sys_function entity) { return(_Sys_FunctionRepositoryS.Insert(entity)); }