4 ms·
The part of LINQ you refer to works by running a code generator against database schema before writing any code. In other words, it is not a language feature (y
by gambler 14y ago
The part of LINQ you refer to works by running a code generator against database schema before writing any code. In other words, it is not a language feature (you can generate code in any language), it is highly complex and it is a maintenance liability. Generally, any kind of code generation is a crutch. Ability to dynamically modify objects removes the need for it.
The way to go in .NET is the opposite direction: Entity Framework with Code First approach.