好记性不如烂笔头。

CodeSmith

CodeSmith

SchemaExplorer中主要类的结构和功能

   DatabaseSchema 属性: ConnectionString:一般填写类似于ADO.NET的连接字符串 Name:数据库名称 Provider:驱动程序提供者,一般实例化一个SqlSchemaProvider对象 集合: Commands:所有存储过程集合 Tables:所有表的集合 Views:所有视图的集合 TableSchema 属性:...

CodeSmith

CodeSmith 缺省支持的扩展属性

   表的列 Extended Property Key SchemaExplorer.ExtendedPropertyName Property Name 描述 CS_Description Description The Description CS_IsRowGuidCol IsRowGuidColumn The Column is...

CodeSmith

CodeSmith Get SQL Functions

   The first thing you need to do in order to use SQL Functions is to set the IncludeFunctions Property on any type that derives from SchemaObjectBase. The following property types...

CodeSmith

CodeSmith中SchemaExplorer类详解

   代码生成工具CodeSmith中SchemaExplorer类API文档 SchemaExplorer中主要类的结构和功能: DatabaseSchema 属性: ConnectionString:一般填写类似于ADO.NET的连接字符串 Name:数据库名称 Provider:驱动程序提供者,一般实例化一个SqlSchemaProvider对象 集合...