1) Model First relationship
When I have a relationship between two classes in the Model First scenario, the code generated is something like that:
Code: Select all
public Collection ClassBs
{
get
{
return _classbCollection;
}
set
{
_classbCollection = value;
}
}
private Collection _classbCollection;
Code: Select all
public Collection ClassBs
{
get
{
if (_classbCollection == null)
{
_classbCollection = new Collection();
}
return _classbCollection;
}
set
{
_classbCollection = value;
}
}
private Collection _classbCollection;
In the second scenario, no exception but simply no results.
2) When do you think to have enum support on Model First/Code First? (if you know, of course)
3) When do you think to improve Code First for stored procedure support? (as before, if you know that)
Thank you in advance.