Example #1
0
        public override bool Equals(object obj)
        {
            Users_topicsInfo item = obj as Users_topicsInfo;

            if (item == null)
            {
                return(false);
            }
            return(this.ToString().Equals(item.ToString()));
        }
Example #2
0
        public Users_topicsInfo FlagTopics(ulong?Topics_id)
        {
            Users_topicsInfo item = cnodejs.BLL.Users_topics.GetItem(Topics_id, this.Id);

            if (item == null)
            {
                item = cnodejs.BLL.Users_topics.Insert(new Users_topicsInfo {
                    Topics_id = Topics_id,
                    Users_id  = this.Id
                });
            }
            return(item);
        }
Example #3
0
 public static string ToJson(this Users_topicsInfo item)
 {
     return(string.Concat(item));
 }