protected bool Equals(ClashException other) { return(FromType == other.FromType && ToType == other.ToType && string.Equals(FromValue, other.FromValue, StringComparison.InvariantCultureIgnoreCase) && string.Equals(ToValue, other.ToValue, StringComparison.InvariantCultureIgnoreCase)); }
public void Add(ClashException item) { var entity = _dbContext.Find <ClashExceptionEntity>(new object[] { (item ?? throw new ArgumentNullException(nameof(item))).Id }, post => post.IncludeCollection(e => e.ClashExceptionsTimeAndDows));