public T this[int index] { get { return(innerList[index].Value); } set { AssertNotSealed(); T old = innerList[index].Value; innerList[index] = new RowIdValue(value); SetSelfModified(); OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, value, old)); } }
public override bool Equals(object obj) { if (obj is GpkgMetadataReference) { var c = obj as GpkgMetadataReference; if (string.Equals(ReferenceScope, c.ReferenceScope) && string.Equals(TableName, c.TableName) && string.Equals(ColumnName, c.ColumnName) && RowIdValue.Equals(c.RowIdValue) && Timestamp.Equals(c.Timestamp) && MdFileId.Equals(c.MdFileId) && MdParentId.Equals(c.MdParentId)) { return(true); } } return(false); }