In EF, when you add a function import, you are asked to specify the name and the SProc. Then you can decide the return (it can be No开发者_StackOverflow中文版ne, Scalers, Complex, and Entities).
I have some mi开发者_Go百科sunderstanding how my objects should be represented in a relational db structure.
If i have a header file foo.h and a source file foo.cpp, and foo.cpp contains something along the lines of: