This question is locked. New answers and comments are not allowed.
Hi,
I have two question I tried but both I get enhanced problems.
I have two question I tried but both I get enhanced problems.
- Is it possible only one project contains entities and Scope usages. (for example : One form project contain db entities and datagridview datasorce filler codes. )
private void Form1_Load(object sender, EventArgs e)
{
IObjectScope scope = ObjectScopeProvider1.GetNewObjectScope();
dataGridView1.DataSource = scope.Extent<
Customer
>().Select(p => p).ToList();
}
If I do a new project for entities no error. - More than one entity projects that contain different table entites of One Database.Other dal project references that projects and use that entities simultaneously with same scope.
Is there sample projects for these questions.
Thanks.