Programmatically generating SQL(DDL) from M

Posted by: Mehfuzs WebLog, on 30 Mar 2009 | View original | Bookmarked: 0 time(s)

In this post, i will show how you can generate SQL programmatically from M. Now, so far i have learnt that MGrammer is a contract that converts users input into MGraph. Now, Oslo by default comes with MSchema. Through MSchema you can define a type and extend it with MGraph to populate your repository. Here, i will use MSchema to define an entity object , then MGraph and finally run this through a custom SQL generator in C# to get my DDL statement similar to what you can generate by using intellipad...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: C# | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1147 | Hits: 39

Similar Posts

  • Migrating to Postgresql with my friend NHibernate more
  • RadScheduler for Silverlight learning series, part 3: Add, Edit, and Delete Appointments more
  • OleDb Parameters to access FoxPro Data from .NET more
  • LINQ to Entities, Entity SQL, Parameterized Store Queries and SQL Injection more
  • ViewState: Handle with care more
  • date validations more
  • Repairing SQL 2005 Business Intelligence Studio after uninstalling VS2005 more
  • Three New Security Tutorials Now Available more
  • SQL Server Compact Edition 3.5 more
  • Five New Security Tutorials Now Available more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD