Re: LINQ Dynamic Data Model
- From: "Andrus" <kobruleht2@xxxxxx>
- Date: Wed, 16 Jan 2008 20:22:21 +0200
EDBrian,
Why not to use use dynamic compilation ?
In design time create wrapper assembly used to satisfy MSBUILD.
At runtime:
1. In start of Main() delete this wrapper assembly
2. In AssemblyResolve event:
2.1 create source code cs file in code for child class, specify base class
from other assembly.
2.2 compile it to assembly
2.3 return this assembly reference in in assemblyresolve event thus
replacing original assembly.
Andrus.
"EDBrian" <preport@xxxxxxxxxxxxxxxxx> wrote in message
news:4A0AF89D-722A-4F1D-BC17-C9C6B4F1D4DF@xxxxxxxxxxxxxxxx
Nothing yet. I can't figure out how to specify a base class...then I'm
thinking of using reflection to copy all the properties in my static class
to the new one.
.
- Follow-Ups:
- Re: LINQ Dynamic Data Model
- From: EDBrian
- Re: LINQ Dynamic Data Model
- References:
- LINQ Dynamic Data Model
- From: EDBrian
- Re: LINQ Dynamic Data Model
- From: Marc Gravell
- Re: LINQ Dynamic Data Model
- From: Andrus
- Re: LINQ Dynamic Data Model
- From: EDBrian
- Re: LINQ Dynamic Data Model
- From: Andrus
- Re: LINQ Dynamic Data Model
- From: EDBrian
- LINQ Dynamic Data Model
- Prev by Date: instance Question
- Next by Date: Re: Is there a faster hi resolution timer for diy profiling
- Previous by thread: Re: LINQ Dynamic Data Model
- Next by thread: Re: LINQ Dynamic Data Model
- Index(es):
Relevant Pages
|