November 24, 2008
The answer to the above question should be “nothing, unless you’re trying to build a project that references entity framework”, but apparently it isn’t so. Say you have a project you’ve built, and you want to build it through code, using the Engine class of Microsoft.Build.Engine assembly. The code should look something like this (taken from MSDN): // Instantiate a new Engine object
Engine engine = new Engine();
// Instantiate a new FileLogger to generate build log
FileLogger logger = new FileLogger();
// Set the logfile...
November 22, 2008
Entity Framework supports entity inheritance, which is a basic requirement for O/R mappers. When exposing a model through a service, either an ASMX WS or a WCF service, a WSDL will be created that among other things describes the structure of the entities, including the inheritance tree of the entities - This is done to allow creation of methods that return polymorphic types. EF supports derived entities through WCF services with data contract serialization using the KnownTypeAttribute which is added to the base class for every derived class. ...
November 2, 2008