Codesmith's schemaexplorer component

Source: Internet
Author: User

Schemaexplorer encapsulates all database objects. Database schemas such as databaseschema, tableschema, and columnschema are provided, and data source information is extracted by dynamically loading Assembly. This function is implemented by the idbschemaprovider interface. Many components are provided on codesmith's website. V3.1 provides adoxschemaprovider and sqlschemaprovider for accessing ADO and SQL databases, similar to oledbdataadpater and sqldataadpater In ADO. net.

Databaseschema represents a database. Constructed based on connnectionstring and idbschemaprovider. Its main attributes are tableschmeacollection and viewschemacollection, which provide the data table and data view information of the database.

Tableschema represents a database table. It mainly provides columnschemacollection. That is, the column data of the data table.

Columnschema indicates the columns of a data table. The main attributes are columnname, systemtype, columntype, isprimarykeymember, and so on.

Extendedpropertycollection is provided for all the above three types to store extended information. This collection is similar to hashtable. In addition, special information about databases of this type provided by many database providers is also stored here.

reference method:
call the Program set that contains schemaexplorer, similar. add reference in. Net
<% @ Assembly name = "schemaexplorer" %>
use the import label to import the namespace of schemaexplorer, similar to using in C.
<% @ import namespace = "schemaexplorer" %>
tableschema-type attribute datatable detection table and table-based content and attribute templates.
<% @ property name = "sourcetable" type = "schemaexplorer. tableschema "Category =" datatable "Description =" table that the stored procedures shocould be based on. "%>
type: attribute value data type
category: the type of this attribute displayed on the attribute panel of codesmith explorer , such as drop-down selection and direct input.

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.