I'm guessing this is saying the Constructor for Or开发者_运维知识库derRepository passes its parameter to the base constructor?
public OrderRepository(MFEntitiesContainer context) : base(context) { }
This is called constructor chaining - you are chaining the constructor to the base constructor overload.
As you assume, it passes the parameter to the matching base class constructor.
Correct. Its calling the "base constructor".
See this page on constructors.
http://msdn.microsoft.com/en-us/library/ms173115(v=VS.100).aspx
精彩评论