/// <summary>
 /// 全构造函数
 /// </summary>
 public SPClientChannelSettingFiltersEntity(int id, string paramsName, string filterType, string filterValue, bool?isEnable, SPClientChannelSettingEntity clientChannelSettingID)
 {
     _id                     = id;
     _paramsName             = paramsName;
     _filterType             = filterType;
     _filterValue            = filterValue;
     _isEnable               = isEnable;
     _clientChannelSettingID = clientChannelSettingID;
 }
 /// <summary>
 /// 默认构造函数
 /// </summary>
 public SPClientChannelSettingFiltersEntity()
 {
     _id                     = 0;
     _paramsName             = null;
     _filterType             = null;
     _filterValue            = null;
     _isEnable               = null;
     _clientChannelSettingID = null;
 }
예제 #3
0
 /// <summary>
 /// 全构造函数
 /// </summary>
 public SPClientChannelSycnParamsEntity(int id, string name, string description, bool?isEnable, bool?isRequired, SPClientChannelSettingEntity clientChannelSettingID, string mappingParams, string title)
 {
     _id                     = id;
     _name                   = name;
     _description            = description;
     _isEnable               = isEnable;
     _isRequired             = isRequired;
     _clientChannelSettingID = clientChannelSettingID;
     _mappingParams          = mappingParams;
     _title                  = title;
 }
예제 #4
0
 /// <summary>
 /// 默认构造函数
 /// </summary>
 public SPClientChannelSycnParamsEntity()
 {
     _id                     = 0;
     _name                   = null;
     _description            = null;
     _isEnable               = null;
     _isRequired             = null;
     _clientChannelSettingID = null;
     _mappingParams          = null;
     _title                  = 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);
            }

            SPClientChannelSettingEntity castObj = (SPClientChannelSettingEntity)obj;

            return((castObj != null) && (this._id == castObj.Id));
        }