WAQS is moving to git. This documentation is obsolete. Please go to https://github.com/MatthieuMEZIL/waqs/wiki

Usage

Introduction

Introduction

How to use WAQS?

Basic
Advanced: Split the generated code in many projects

How does WAQS querying work?

Basic

How to define business logic?

Where do we write business code?
Entity calculated properties
Calculated properties and polymorphism
Server calculated properties
Metadata definition
Non metadata validation rules
Exposing Validate method on the service
Validate methods and CUD
Transactional validation business rules
Validation rules with navigation properties
Service methods
Specification methods and DTO
Server filters
Client Server namespaces conversion
CustomAttribute

How does WAQS extend querying features comparing to Entity Framework?

DateTime calculation
Math calculation
Math.Round
Querying on calculated properties
Calculated properties and dependences
SQL and polymorphism
Coalesce
Lazy loading
Eager loading
Avoid useless data loading using With method
Avoid useless data loading using partial entity loading
IncludeFor
Contains method support
Load calculated properties
Include and inheritance
With on sub types (inheritance)
Entities extension methods support on LINQ queries
WAQS LINQ ParameterMode
Using WAQS as a layer on top of Entity Framework

How does ‪WAQS‬ optimize client – server data transfer?

Querying a lot of entities (ByStepQuery)
Pagination
MergeOption
SaveChanges
Cascade Delete

WAQS UI features

Add a bindable dynamic property
PropertyChanged logic
Global validation

How does WAQS help you to test your specifications code?

WAQS and unit tests
Mock the database

WAQS Patterns

Query parallelization
Querying factorization
Specifications factorization
Sharing code between server and client
Multi edmx and specifications methods
Global Context
Modules dependency
Edmx Update Model from Database
Implement your own identity logic

Conclusion

Conclusion


How does WAQS code generation work?

T4

T4 basis
EntityDataModel classes

Roslyn

Roslyn basis
How to generate a property from an extension method?

NuGet

Extend Visual Studio with NuGet PowerShell commands basis
Init ViewModel



Last edited Fri at 5:05 AM by MatthieuMEZIL, version 72