Presentation is loading. Please wait.

Presentation is loading. Please wait.

 Martin Gudgin Program Manager Microsoft Corporation  Chris Sells Program Manager Microsoft Corporation.

Similar presentations


Presentation on theme: " Martin Gudgin Program Manager Microsoft Corporation  Chris Sells Program Manager Microsoft Corporation."— Presentation transcript:

1  Martin Gudgin Program Manager Microsoft Corporation  Chris Sells Program Manager Microsoft Corporation

2 “M” Modeling language Visual Studio “Quadrant” Modeling tool Repository Model store YOU ARE HERE

3 Repository Family of Platform Stores Message Box Platform Instance Data Modeling Language Monitoring Data Work Items Work Items Versioned Source Versioned Source Application Metadata

4 system catalog, Change Data Capture, replication, SSIS, mirroring, security, etc. SQL Server Features Repository catalog, secure views, auditing, versioning, claims-based security, glob/loc, etc. Repository Features

5 CORE

6

7 M.exe Domain Model Compiler M.exe Domain Model Compiler MX.exe Domain Model Loader MX.exe Domain Model Loader ModelA.m ModelB.m ModelC.m ModelABC.mx SQL Server SQL Server M Framework

8

9 C:\>m.exe trivial.m Syntax and type check... C:\trivial.m(5,18): error M0152: Type error Literal '42' cannot be converted to type 'Text'.

10 10 C:\>m.exe /t:repository orderitem.m // orderitem.m module MyModule { type OrderItem { Id : Integer32 = AutoNumber(); Description : Text; Quantity : Integer32; } where identity Id; OrderItems : OrderItem*; }... create table [MyModule].[OrderItemsTable] ( [Id] int not null identity, [Description] nvarchar(max) not null, [Quantity] int not null, constraint [PK_OrderItems] primary key clustered ([Id]) );... orderitem.sql:

11

12 12 c:\Project2>msbuild project2.csproj... Build started 2/4/2008 11:14:02 AM. Project "c:\Project2\project2.csproj" on node 0 (default targets). Running M Compiler...... c:\Project2> dir bin\debug\orderitem.sql... 02/05/2008 01:22 PM 882 orderitem.sql

13 C:\>m.exe /t:repository /p:image size.m C:\>dir size.mx... 08/24/2008 01:14 PM 62,612 size.mx

14 C:\>m.exe /t:repository /p:image person.m /r:size.mx C:\>dir person.mx... 08/24/2008 01:17 PM 9,675 person.mx

15

16

17

18

19

20

21

22 module Entertainment { type Movies {... Folder:Integer32; // G, PG, R, etc. }

23

24 // friendships.m module Microsoft.PDC { import System.Identity; type Friendship { Id : Integer32 = AutoNumber(); ContextParty : Party; ReferencedParty : Party; } where identity Id; Friendships : Friendship* where item.ContextParty in Parties, item.ReferencedParty in Parties; } // friendships.m module Microsoft.PDC {... type Friendship2 : Friendship { // default for old (and new) clients LoveIndex : Integer32 = 5; } Friendships2 : Friendship2* where item.ContextParty in Parties, item.ReferencedParty in Parties; // updateable view Friendships() : Friendship* { from f in Friendships2 select f }

25

26

27 "M" Language Specification to be released under OSP

28 Use the bits http://msdn.microsoft.com/oslo Read these documents Repository Design Overview Repository Lifecycle Overview Go see the other talks A Lap Around “Oslo” “Oslo”: The Language “Oslo”: Customizing and Extending the Visual Design Experience “Oslo”: Building Textual DSLs

29 Please fill out your evaluation for this session at: This session will be available as a recording at: www.microsoftpdc.com

30

31 © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

32


Download ppt " Martin Gudgin Program Manager Microsoft Corporation  Chris Sells Program Manager Microsoft Corporation."

Similar presentations


Ads by Google