Questions tagged [entityset]
54 questions
1
vote
4 answers
How do you sort an EntitySet
The MSDN documentation states that an EntitySet implements IBindingList
(see 'Binding to EntitySets' at http://msdn.microsoft.com/en-us/library/bb546190.aspx)
However, it can be clearly seen that an EntitySet does not implement this interface!
So…

Chris Haines
- 6,445
- 5
- 49
- 62
1
vote
2 answers
Error when deleting row from Silverlight 5 datagrid
I have an Silverlight 4 (ria 1.0) application which was upgraded today to Silverlight 5 (ria 1.0 sp2)
Now I am getting the following error when I am trying to delete record from datagrid:
at System.Windows.Controls.DataGrid.OnRemovedElement(Int32…

Vasyl Bodak
- 19
- 3
1
vote
3 answers
Struggling with .ToList() returing an EntitySet<...>, not an IList<..>
I'm trying to retrieve a list of Id's from a collection that is a few levels deep in an object heirachy. When i try to do a ToList(), I keep getting an EntityList<> retrieved instead .. which means it's not allowing me to retrieve an instance's…

Pure.Krome
- 84,693
- 113
- 396
- 647
1
vote
0 answers
Work with child EntitySet in databound detailsview
I am working with ASP.Net (forms) and Linq To SQL. I have a parent table called Feedback, a table called Tags and a table called FeedbackTags which allows me to relate tags to feedback items. I have a master/detail view (GridView/DetailsView) which…

Peter
- 9,643
- 6
- 61
- 108
1
vote
1 answer
Dbml adds 1 to EntitySet name
Hi I got a dbml file, that starts to add a 1 to the end of a EntitySet name
Is there any way I can permanently fix this? If I change it in the designer file, its just returns when the file is…

gulbaek
- 2,481
- 13
- 44
- 65
1
vote
1 answer
How to store one entity class in another in specific relation between tables?
I have these relations in my data base:
I need all authors related to my book stored in book entity class?
I was trying to resolve this by using entityset but I can't use it because there is no primary key in BookAuthors table!
Any kind of help…

Powerslave
- 321
- 1
- 2
- 9
1
vote
2 answers
Where is EntitySet's "Results View"?
When looking at a linked EntitySet of a LINQ to SQL mapped entity, I see the following:
I'd like to see the following (achieved by using the .AsQueryable() extension method) so that I can click the little refresh icon and see the content:
Why…

Allon Guralnek
- 15,813
- 6
- 60
- 93
1
vote
1 answer
what's difference between entity and entity set in dbms
i am getting confused about the entity and entity set in DBMS.
do set of entities forms entity set? Just like set of Student Objects form Array of Students.
should we compare a Table in Relational database to entity set or entity?
If i compare…

java dev
- 1,044
- 1
- 11
- 17
1
vote
0 answers
observableCollection to EntitySet
How do I assign a observableCollection into a EntitySet ?

Johnny
- 1,555
- 3
- 14
- 23
1
vote
2 answers
ASP.NET MVC - Submit Form with complex Model with EntitySet
I'm struggling myself trying to make my form work with my models...
So, I have 3 Models
Account
has_one -> Company
has_many -> Individuals -> has_one Document
So the account can have one company and many individuals with one document…

zanona
- 12,345
- 25
- 86
- 141
1
vote
1 answer
linq one to many relationship stores only one member of list
I'm trying to set up a one to many relationship with linq on Windows Phone 8.
My problem is that in the EntitySet<> field only one of the classes which should be stored, really gets stored to the database.
So i made a simple Project to give you…

Robin
- 35
- 4
1
vote
1 answer
DeleteOnNull Error
I've got a set of DB objects sitting in an EntitySet on my main object definition. This handles additions and updates fine, but I found the removing items from the list didn't result in the database records being deleted, so I had to create a…

Mad Halfling
- 968
- 3
- 19
- 36
1
vote
2 answers
Is my mocking for the EntitySet wrong?
I'm an experienced programmer, but new to LINQ/Moq/Ninject/MVC/MS Test/etc and have run into an issue I haven't been able to figure out.
I have built the SportsStore sample from the Pro ASP.NET MVC 2 Framework book (but with .NET 4.5/MVC 4). I got…

Daniel Flöijer
- 184
- 1
- 12
1
vote
1 answer
Linq and ObservableCollection
I have a problem with Linq and ObservableCollections in my WPF application.
Context of the problem:
I've created a very simple SQL database with two tables: User and BankAccounts.
The User Table has an one-to-many relationship with the BankAccounts…
None
0
votes
0 answers
Are custom primitives supported for DFS over spark EntitySets?
From reading the spark guide, it's unclear to me whether it's possible to perform DFS with custom primitives when using a spark ES. I understand that there are limitations in what kind of primitives may be compatible over spark ES, but not whether…

keston
- 1