========================================================== ======================================
Name: SubSonic plug-in
Version: 3.0.0.4.2
Last Updated:
Internet: http://www.subsonicproject.com/
BUG modification: Empty (AllEmpty)
Email: 1654937@qq.com
Learning discussion: SubSonic3.0 Learning Group (327360708)
Blog: http://www.cnblogs.com/EmptyFS/
========================================================== ======================================
Version modification history
3.0.0.4.2 fixed the following problems:
Added the object generation and description function compiled by Mr. Tom, and fixed the problem of changing rows in the field comment.
Corrected the problem of adding s to the database table name and generating the template automatically removing s.
When adding or modifying a data table is modified, fields without a value assignment are also updated synchronously (that is, a field in the object is not assigned a value, we need to automatically use the default value in the database, but the actual operation will update the null content to the database, and the default value is not used; when performing the modification operation, the original content will be overwritten)
An exception occurs when the database field name is modified because it is a keyword.
Other minor issues
3.0.0.4.1 fixed the following problems:
1. When the Structs. tt template is generated, a null pointer exception (System. NullReferenceException) is caused by no value assignment to the PropertyName attribute)
2. Use SubSonic. query. select and SubSonic. query. when the Top attribute is set during SqlQuery query, the Bug "unhandled InvalidOperationException (syntax error near the keyword 'top')" is generated.
3. The generated table name is automatically added to the plural (s) and the "user code has not processed SqlException, and the Object Name 'xxxs 'is invalid" exception occurs.
4. Fixed the Bug of column loss when SubSonic. Query. Select and SubSonic. Query. SqlQuery are used to Query and the field type is tinyint.
5. Add more execution functions (returned content) for SubSonic. Query. Select and stored procedure Query)
When Json deserialization is used to update objects, you can only add objects but not modify objects, I think it should be used by few people, so I will not add it to the Code. If you need it, please log on to my blog and modify it.