/// <summary> /// 默认构造函数 /// </summary> public SystemResourcesBase() { _resources_id = 0; _resources_namecn = String.Empty; _resources_nameen = String.Empty; _resources_description = String.Empty; _resources_type = String.Empty; _resources_limitexpression = String.Empty; _resources_isrelateuser = false; _moudleid = null; }
/// <summary> /// 默认构造函数 /// </summary> public SystemMoudleFieldBase() { _systemmoudlefield_id = 0; _systemmoudlefield_nameen = String.Empty; _systemmoudlefield_namecn = String.Empty; _systemmoudlefield_namedb = String.Empty; _systemmoudlefield_type = String.Empty; _systemmoudlefield_isrequired = false; _systemmoudlefield_defaultvalue = String.Empty; _systemmoudlefield_iskeyfield = false; _systemmoudlefield_size = 0; _systemmoudlefield_description = String.Empty; _systemmoudle_id = null; }
public void LogOperationAddOKInfo(SystemUser systemUser, SystemMoudle systemMoudle, string recordName, int relateID,string source,string requestInfo) { SystemLog log = new SystemLog(); log.LogDate = System.DateTime.Now; log.LogDescrption = GenerateOperationAddOKInfo(systemUser, systemMoudle.MoudleNameCn, recordName, relateID); log.LogLevel = LogLevel.Info.ToString(); log.LogType = LogType.BussnessOperation.ToString(); log.LogRelateDateTime = null; log.LogRelateMoudleDataID = relateID; log.LogRelateMoudleDataID = systemMoudle.MoudleID; log.LogRelateUserID = systemUser.UserID; log.LogUser = systemUser.UserName; log.LogSource = source; log.LogRequestInfo = requestInfo; this.Create(log); }
public List<SystemPrivilege> GetUserPrivilegeByUserLoginID(SystemUser user, SystemMoudle moudle) { throw new NotImplementedException(); }