self-tracking-entities Questions

2

Solved

I have to recalculate values on a large collection of entities, one after the other. During that process, all the self-tracking-entities are altered within the same ObjectContext. For each entity ...

5

Solved

I've been stuck with this problem for over a week now. Hopefully some one can point me in the right direction. I start with a brief description of my schema. Asset 1--->1 Address *-->1 Area *-->1...

2

Solved

While looking at Microsoft's web site, I discovered that they no longer recommend using Self-Tracking Entities. Each link below is a MS resource that mentions not to use STEs: Shows what templat...
Vial asked 17/9, 2012 at 15:19

8

Solved

I have a WCF client which passes Self-Tracking Entities to a WPF application built with MVVM. The application itself has a dynamic interface. Users can select which objects they want visible in the...
Corrasion asked 3/5, 2011 at 20:24

3

Scenario Visual Studio 2010 Silverlight 4 Entity Framework Self-tracking entities Problem On the server side, we have generated entity objects using Entity Framework model. We have used self ...
Kappenne asked 14/6, 2011 at 10:57

4

Solved

We are starting a new web based product in which we are planning to expose our business logic through WCF services. We will be using ASP.NET 4.0, C#, EF 4.0. In future we want to build iphone appli...

1

Solved

Reading the msdn information on EF 5.0 and n-tier solutions see link , it seems that MS is not recommending STE's and the POCO/DTO way is also not recommended by stating that it is difficult. Not ...
Centrist asked 17/9, 2012 at 9:55

3

Solved

I want to serialize an Entity Framework Self-Tracking Entities full object graph (parent + children in one to many relationships) into Json. For serializing I use ServiceStack.JsonSerializer. Thi...

2

I'm currently trying to optimize some of the LINQ queries in my program by precompiling them. Some of these queries make extensive use of eager loading; here's an example of one: public static Fun...

1

Solved

I'm using EF 4 STE's to model an Attachment object. The Attachment contains a Name, Description, Date, and most importantly Data (byte[]). To optimize loading, I don't want to retrieve the Data pro...

1

Solved

I'm trying to ramp up on the entity framework so I don't feel like I'm in the dark ages. I tried (and have thus far failed) to intuit from generated code what the essential differences between the ...
Blowhole asked 19/8, 2011 at 21:1

2

Solved

I am developing an application which will expose WCF services. I am using Entity Framework 4.1 at the DAL. The problem is when I load some entity (let say a Customer that has Order which in turn ha...

1

Solved

I have developed my DAL using Entity Framework (Self Tracking Entities). I have written a WCF Service which exposes some CRUDE operations on those STEs. I want to use my WCF service in a java appl...
Herder asked 25/7, 2011 at 15:7

2

Solved

I want to know if using Self Tacking Entities (in Entity Framework) is recommended with WCF services? If yes, then can you guide me to a tutorial which may guide how to do that? Actually, I am goi...
Taproot asked 10/7, 2011 at 16:43

1

Solved

I want to know if DBContext (EF 4.1) supports Self Tracking Entities. If yes, how can I do that?
Untruth asked 11/7, 2011 at 5:54

2

Add a new entity to a TrackableCollection (context.Entities.Add(entity)) (EntityState = New) Without saving, delete the added entity from TrackableCollection (context.Entities.Remove(entity)) (Ent...

1

Solved

If i'm wanting to use entity framework 4 as my data layer and want to send my entities to another tier whether it be via WCF or another mechanism and then want the ability to update the entities an...
Andantino asked 24/5, 2011 at 19:48

1

Solved

What could be the better implementation for STE, I heard about that DbContext is the simplest way to implement a Repo with EF, personally I take advantage of the EntityState, but there is any membe...

2

Solved

Okay, so we have a solution that contains the following projects: BusinessLogic Entities DataAccess Utilities UnitTests UserInterface It is a very large enterprise-level application. My questio...

3

Solved

What are some questions I can ask myself about our design to identify if we should use DTOs or Self-Tracking Entities in our application? Here's some things I know of to take into consideration: ...

2

I've got a GridView on a ASP.Net page. I would like to set the DataSource of the Gridview to a trackable collection of Entity Framework objects. I though the code should look like this: this.gvMy...
Melisandra asked 28/3, 2011 at 15:41

1

Solved

I've created a database using the EF4 model-first approach. In my model, there's an N-to-M relationship between two entities: I've filled my database with some dummy data, including 3 records of...

2

Solved

I've been reading about self-tracking entities in .net and how they can be generated from a *.edmx file. The thing that I'm struggling to understand is what generating these entities gives you over...
Kahaleel asked 23/2, 2011 at 14:8

1

Solved

I am using Entity Framework with Self-Tracking Entities over WCF. I have 2 entities, Customer and PriceMatrix with a many-to-many relationship (the customer can have many historic price matrices,...
Jessabell asked 2/2, 2011 at 12:51

1

Solved

I am using Entity Framework with the Self-Tracking Entity T4 templates, which by default will generate a SQL Query setting all the properties on the Entity in an UPDATE statement. I only want an UP...

© 2022 - 2024 — McMap. All rights reserved.