/// <summary> /// 全构造函数 /// </summary> public SystemUserProfileEntity(int profileID, SystemUserEntity userID, SystemUserProfilePropertysEntity propertyID, string propertyValuesString, byte[] propertyValuesBinary, DateTime lastUpdatedDate) { _profileID = profileID; _userID = userID; _propertyID = propertyID; _propertyValuesString = propertyValuesString; _propertyValuesBinary = propertyValuesBinary; _lastUpdatedDate = lastUpdatedDate; }
/// <summary> /// 默认构造函数 /// </summary> public SystemUserProfileEntity() { _profileID = 0; _userID = null; _propertyID = null; _propertyValuesString = null; _propertyValuesBinary = null; _lastUpdatedDate = DateTime.MinValue; }
/// <summary> /// 全构造函数 /// </summary> public SystemUserProfileEntity(int profileID, SystemUserEntity userID, SystemUserProfilePropertysEntity propertyID, string propertyValuesString, byte[] propertyValuesBinary, DateTime lastUpdatedDate, int?createBy, DateTime?createAt, int?lastModifyBy, DateTime?lastModifyAt, string lastModifyComment) { _profileID = profileID; _userID = userID; _propertyID = propertyID; _propertyValuesString = propertyValuesString; _propertyValuesBinary = propertyValuesBinary; _lastUpdatedDate = lastUpdatedDate; _createBy = createBy; _createAt = createAt; _lastModifyBy = lastModifyBy; _lastModifyAt = lastModifyAt; _lastModifyComment = lastModifyComment; }
/// <summary> /// 默认构造函数 /// </summary> public SystemUserProfileEntity() { _profileID = 0; _userID = null; _propertyID = null; _propertyValuesString = null; _propertyValuesBinary = null; _lastUpdatedDate = DateTime.MinValue; _createBy = null; _createAt = null; _lastModifyBy = null; _lastModifyAt = null; _lastModifyComment = null; }
/// <summary> /// local implementation of Equals based on unique value members /// </summary> public override bool Equals(object obj) { if (this == obj) { return(true); } if ((obj == null) || (obj.GetType() != this.GetType())) { return(false); } SystemUserProfilePropertysEntity castObj = (SystemUserProfilePropertysEntity)obj; return((castObj != null) && (this._propertyID == castObj.PropertyID)); }