asp.net 3.5 Extension (CTP)-Dynamic data metadata __net

Source: Internet
Author: User
Dynamic data is the most cool technology is that it provides a set of scaffolding framework, almost no code to build a data-driven Web program-database tables corresponding to the add, delete, modify, view function can be automatically generated. The metadata (metadata) generated by the Model of LINQ to SQL is its core.

Metadata can also provide more functionality, such as data validation. Instead of using a data validation control, you need to add an attribute, such as a range attribute, to validate the data range of an integer type in the properties of the entity class in model (the columns in the datasheet). Or use a Metadata.xml file to add the corresponding mapping information can also be implemented (disadvantage: When editing this file, vs without IntelliSense, is not very convenient)

More information-http://blogs.msdn.com/marcinon/archive/2007/12/10/ Adding-custom-metadata-providers-in-asp-net-3-5-extensions-preview.aspx

There are still bugs in the CTP version-for example, after using the ReadOnly feature, the data can still be edited in edit mode:
http://forums.asp.net/rss.aspx?ForumID=1145&PostID=2074603
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.