Category Archives: 7674

Entity Data Model classes

Entity Framework provides some classes to describe the Entity Data Model. This can be very helpful in many cases and particularly for code generation.   Then, Entity Framework provides a ttinclude file that allows us to use this model instead … Continue reading

Posted in 10511, 16868, 17895, 7674, 7675 | Leave a comment

WAQS: Implement your own identity logic

7 reasons to use WAQS WAQS documentation   Imagine that you don’t have identity key column in your DB and you use your own way to define your DB sequence. So you need an identity logic on the client but … Continue reading

Posted in 16868, 7674, 7675 | Leave a comment

WAQS: Edmx Update Model from Database

7 reasons to use WAQS WAQS documentation   Sometimes, particularly when you want to use many small models, you have to change edmx ssdl (DB description) yourself modifying the xml. The issue with this appends when you want to update … Continue reading

Posted in 16868, 7674, 7675 | Leave a comment

WAQS: Write your code faster and better

WAQS is a code-generation solution to speed up and improve quality of.Net data centric applications development. It abstracts away the technical code in order to let developers focus on value add tasks: screens and business code. It’s great for both … Continue reading

Posted in 16402, 16868, 17697, 7674 | 2 Comments

WAQS: Cascade delete

7 reasons to use WAQS WAQS documentation   Entity Framework cascade delete behavior Entry Framework approach with Cascade Delete is strange IMHO.   Indeed, imagine that we define cascade delete on Orders to OrderDetails relationship in our model. If we … Continue reading

Posted in 16868, 7674 | Leave a comment

WAQS Save changes

7 reasons to use WAQS WAQS documentation   Self Tracking Entities Why using Self Tracking Entities? I read this post, where you can read “We no longer recommend using the STE template, it continues to be available to support existing … Continue reading

Posted in 16868, 7674 | Leave a comment

WAQS Querying: MergeOption

7 reasons to use WAQS WAQS documentation   When you query using Entity Framework, entities got are cached by default. Then, by default, if you query again and if you get some entities you already have in the EF cache, … Continue reading

Posted in 16868, 7674 | Leave a comment

Using WAQS as a layer on top of Entity Framework

7 reasons to use WAQS WAQS documentation   We saw in previous posts that WAQS adds some improvements on LINQ To WAQS (comparing to LINQ To Entities). Now the point is the fact that it would be a shame if … Continue reading

Posted in 12253, 16868, 7674 | 1 Comment

WAQS Querying: Include and inheritance

7 reasons to use WAQS WAQS documentation   I already wrote on WAQS Include method. However, there is one more point you can’t do with an easy way with EF. Imagine that you have an entity Person and you have … Continue reading

Posted in 12253, 16868, 7674 | Leave a comment

WAQS Querying: Contains method support

7 reasons to use WAQS WAQS documentation   LINQ To Entities supports Contains method but only on scalar types. LINQ To WAQS also supports it for entity types. So, if you use a contains on an entity type collection, LINQ … Continue reading

Posted in 12253, 16868, 7674 | Leave a comment