/// <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); } SPClientChannelSycnParamsEntity castObj = (SPClientChannelSycnParamsEntity)obj; return((castObj != null) && (this._id == castObj.Id)); }
internal SPClientChannelSycnParamsWrapper(SPClientChannelSycnParamsEntity entityObj) { entity = entityObj; }
internal static SPClientChannelSycnParamsWrapper ConvertEntityToWrapper(SPClientChannelSycnParamsEntity entity) { if (entity == null) return null; if (entity.Id == 0) return null; return new SPClientChannelSycnParamsWrapper(entity); }