V1.3 version of the open source See: CYQ.Data Road, lightweight data layer of gorgeous version V1.3 open source framework
V1.4 release, see: Road CYQ.Data lightweight data layer of elegance V1.4 secular attached document API Help (IX)
Introduction Description
This release of the aid, the same applies to version V1.3
Explained below:
A: The overall figure
1: The main interface is running
2: Enumeration table generating region:
3: View enumeration generating region:
4: generating storage area enumeration procedure:
5: About
II: Instructions
1: Link Configuration Database
A: Modify the increase: Modify the default database links database links for your project, click on the "Test link" test by clicking the "Save Link."
As shown, the new addition of a MessageConn database link, the next time you start the link still exists.
B: Delete: If you need to remove the link, the link you want to delete, click on "Remove Link" button.
important
2: Select the database type
A: select the type of database, storing the generated page with this procedure.
B: whether the project multiple databases, and the generation of the enumeration.
Description: enumeration name generated by the multi-database generated by the agreement , details see: CYQ.Data road data layer of lightweight elegant V1.4 secular attached document API Help (nine) on the enumeration convention explained.
3: a one-time operation
A: generation paging stored procedure: Click the automatic pagination automatically create stored procedures in the database.
B: generate exception log table: Click the Auto automatically created in the database table [ ErrorLogs ]
Enable the log need two steps:
2:增加日志的数据库链接[考虑到日志库可能与当前库不在同一数据库情况]
配置示例如下
< connectionStrings >
< add name ="Conn" connectionString ="Server=.;database=Chat;uid=sa;pwd=123456" />
< add name ="LogConn" connectionString ="Conn" /> //采用借用Conn方法,当然也可以写完整链接字符串
</ connectionStrings >
4:枚举文件保存路径
5: the table / view / stored procedure enumerated generated
B: saved directly to a file: Click on to save the file, and the path to "enumerate file path +" \\ "+ file name"
C: Modify: Click to edit the file name saved the next will be loaded in the new file name to save.
6: About
The last closing arguments:
When you modify a database, simply open the tool, tap the corresponding "save files directly to" cover file.
Finally, I wish you all a happy, with the rest assured that with peace of mind.
CYQ.Data [V1.4] aids Download: CYQ.Data road data layer of lightweight bug feedback, optimization tips, download the latest frame
Reproduced in: https: //my.oschina.net/secyaher/blog/274324