internal IndexSet GetPropertyIndexSet(PropertyStateFilter filter) { IndexSet indexSet = new IndexSet(); DataProperty[] fproperties = this.FProperties; if (fproperties != null) { for (int index = 0; index < fproperties.Length; ++index) { if (DataObject.IsAcceptable(fproperties[index], filter)) { indexSet[index] = true; } } } return(indexSet); }
public UpdatePlan(PropertyStateFilter filter) => this.FFilter = filter;
private static bool IsAcceptable(DataProperty prop, PropertyStateFilter filter) => prop != null && !prop.Metadata.IsId && !prop.Metadata.IsSelector && (filter == PropertyStateFilter.Assigned ? prop.IsAssigned : prop.IsModified);