public PropertySelectorViewModel ForeigKeyPPByForeignKN(string foreignKeyName) { if (ForeigKeyParentProperties == null) { return(null); } return(ForeigKeyParentProperties.Where(t => String.Equals(t.ForeignKeyName, foreignKeyName, StringComparison.CurrentCultureIgnoreCase)).FirstOrDefault()); }
public PropertySelectorViewModel ForeigKeyPPByOriginalPN(string originalPropertyName) { if (ForeigKeyParentProperties == null) { return(null); } return(ForeigKeyParentProperties.Where(t => t.OriginalPropertyName == originalPropertyName).FirstOrDefault()); }