CYQ.Data lightweight road data layer of the strong support of the advent of V1.5 winform use (17)

Following the V1.4 version N days have passed, but also open source version V1.4, see: CYQ.Data lightweight road data layer of elegance V1.4 version of the open source framework

 

Because users need to reflect strongly in winform under development, so this version is a major upgrade adds support for winform, and strive to let everyone relatively satisfactory:

For: bug feedback, optimization tips, and download the latest version of the framework, see: CYQ.Data road data layer of lightweight bug feedback / optimization suggestions / framework download

 

PS: If you are interested in this frame, please correct the correct passionate, enthusiastic recommendation point -

 

Upgrade Instructions:

Fixed as two small bugs:
. 1: enumeration sql2000 generated statement
2: MDataTable the ToDataTable () method.
Other main performance optimization and enhanced support for use in winform right.

 

The upgraded version V1.5 modify the record as follows:

05233345_zLoW.gif
A: MAction
. 1: Added support for GetFrom Winform under the SetTo of
2: Guid increase support for the type of ID
3: Code optimize the separation, the separated portion to a new class UI MActionUI go.

Two: MProc
1: Added support for SQL statement

three: MDataTable
1: optimizing data binding, faster.
2: Increase in the DataGridView control supports binding Winform
3: ToDataTable correction method

four: SQLOutput
1: correction for the generation of enumeration and generate log table in sql 2000 database.
2: optimized code, a function to delete the useless

five: the DataType
. 1: GetSqlType method for increasing conversion ntext type, modify the default return is converted SqlDbType.NVarChar

 

 

The following instructions for updating forward

 

A: MAction
Description:

1: The release of enhancements, allowing you to use GetFrom and SetTo functions under Winfrom.
2: The previous version only supports type int ID, this enhancement allows you to use the ID in the Guid type. Usage of the same type int.
3: an exploded code optimization, the UI part separated functions.

 

Two: MProc
Description:

1: Added support for SQL statements, the need for direct SQL statements, you can use MProc like stored procedures using the same SQL statement

Example:

string  customSql = " select * from Users " ;
MProc proc 
=   new  MProc(customSql);
MDataTable table 
=  proc.ExeMDataTable();
proc.Close();

 

Three: MDataTable

Description:

1 : Optimize data binding, faster. See: Section Road CYQ.Data optimized lightweight layers MDataTable binding performance data (k)
2 : MDataTable directly bound DataGridView control
3 : ToDataTable method of correcting MDataTable

 

四:SQLOutPut

Description:

1 : Amendment to generate enumeration generate and log table in sql 2000 database.
Description: There are enthusiastic users have discovered, in fact, V1.4 aids in using the V1.5 version of the dll, mainly to fix the problem.
2 : optimized code, delete useless to function, nothing illustrates this.

 

Five: DataType

Description:

. 1 : GetSqlType method for increasing conversion ntext type, modify the default return is converted SqlDbType.NVarChar
Description: There are users using sql ntext type field, a version being given V1.4, V1.4 version is mainly due to optimization when the cast missed it, this V1.5 version specially plus.
Ntext field was proposed to replace the nvarchar (max), so in the V1.4 version can be used normally.

 

Knot words:

They each walked netizens passing, do not miss, do not buy do not have to feed and look at it.

Take a look wholesome, with a use more head gently, do not see is that delirious ~ ~ ~ haha

like to recommend to feed on the next point, do not like to have to remain under a clear mind, remember the excitement is the devil
~ ~~

 

 

V1.5 version CYQ.Data framework: Download

 

Finally, if you need support Support Access database, go to the latest version of the framework in the above first to experience the download version.

 

Reproduced in: https: //my.oschina.net/secyaher/blog/274149

Guess you like

Origin blog.csdn.net/weixin_34138521/article/details/91966873