I don't know the right words, so I will use a code example.
Class A {
public MyList<MyModel> Models {
get {
// This won't work because it call's Models. How can I make this work??
return Models.Load();
};
}
}
Class MyList<T> : List<T>{
public List<T> Load(){
return Something();
}
}
This is the thing I want to do:
var context = new A();
context.Models.Where(...);