Not used in the
EntityClassGeneration mode.
/entitycontainer: Specifies the name to apply to the
element in the
EDM file.
/nologo Hides the copyright message.
/help Displays command syntax and tool options.
The following examples show how the EdmGen tool can be used. The first example uses the
FullGeneration mode to generate all necessary files:
edmgen /mode:fullgeneration /c:"Data Source=AvalonServer;Initial
Catalog=AdventureWorks; Integrated Security=SSPI" /p:LINQProject
In this example, a C# object source code file is created from the .csdl:
edmgen /mode:entityclassgeneration /incsdl:c:\wrox\Appendix\LINQ\ AdventureWorksModel.csdl /outobjectlayer: c:\wrox\Appendix\LINQ\ AdventureWorksModel.cs /language:csharp
The ADO.NET Entity Framework clearly helps you work with relational databases as well as model
entities and relationships.
344
LINQ to XSD
Any programming language that supports the .NET Framework will support LINQ. LINQ to XML
is LINQ-enabled, meaning that you have access to all of the functionality of LINQ such as the
standard query operators and the LINQ programming interface.
Pages:
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534