C# Class weedstudio.Utils.WeedBuilder

Mostra file Open project: noear/Weed3 Class Usage Examples

Public Properties

Property Type Description
SdqName string
TableName string

Public Methods

Method Description
Build ( ) : void

执行前,请设置:TargetFolder,NameSpace,Columns,VSNET

Class ( string tableName ) : string

首字母大写,去掉复数,‘ ’=>'_'

WeedBuilder ( DbContextEx db ) : System

Private Methods

Method Description
DEF ( PropertyModel col ) : string
DT ( PropertyModel col ) : string

获取System.Data.DbType

EST ( PropertyModel col ) : string

获取System.Type ?

GetItem ( string itemFormat ) : string
GetKeyCol ( ) : PropertyModel
N ( PropertyModel col ) : string

获取名称

ST ( PropertyModel col ) : string

获取System.Type

Up1 ( string text1 ) : string

首字母大写,‘ ’=>'_'

Method Details

Build() public method

执行前,请设置:TargetFolder,NameSpace,Columns,VSNET
public Build ( ) : void
return void

Class() public static method

首字母大写,去掉复数,‘ ’=>'_'
public static Class ( string tableName ) : string
tableName string
return string

WeedBuilder() public method

public WeedBuilder ( DbContextEx db ) : System
db weedstudio.exts.DbContextEx
return System

Property Details

SdqName public_oe property

public string SdqName
return string

TableName public_oe property

public string TableName
return string