I\'m trying to return entities where the bool \"isAssy\" is true:
public ObservableCollection ParentAssemblyBOM
{
get {return
ObservableCollection has an overloaded constructor that accepts an IEnumerable as a parameter. Assuming that your Linq statement returns a collection of MasterPartsList items:
public ObservableCollection ParentAssemblyBOM
{
get
{
var enumerable = this._parentAssemblyBOM
.Where(parent => parent.isAssy == true);
return new ObservableCollection(enumerable);
}
}