-
PersonalBlog
1)通过两个抽象表存放任何数据实体以及实体之间的关系;
2)通过两种扩展字段设计方式实现任何数据实体的字段扩展需要,并且扩展的字段支持数据库级别的排序搜索功能;扩展字段的添加和一般字段没有什么大的区别,仅仅只是添加了一个特性而已。
3)由于将实体与实体之间的关系进行高度抽象(最终抽象为横向和父子递归两种关系),导致数据库访问层的接口的通用型非常广泛,可以适应任何实体之间的关系。这样的设计用一般的言语无法表达;也许你看了代码之后会有所体会;
4)吸取了CS中的很多好的设计,如Provider模式,动态构建SQL实现自定义查询,缓存,多语言资源文件设计,自定义Url重写,Ajax功能,etc;
5)优秀的运行性能;
6)通过一个简单的文章发布系统的后台管理系统作为Demo,展示本框架的部分功能;
7)目前该框架还在不断完善优化中。(1) to store any data entities and the relationship between two abstract table
2) fields of any data entity expansion needs in two extended field design approach, and extended field support database level sort search function add extension field and the general field no big difference, just add a feature.
3) the relationship between the entity and the entity to a high degree of abstraction (the final abstract horizontal and parent-child recursive two), resulting in the interface of the database access layer, Universal is very extensive, and can be adapted to the relationship between any entities. This design can not be expressed in general language maybe you looked at the code will be the experience
4) draw a lot of good design in CS, such as the Provider mode, dynamically build the SQL to implement a custom query cache, the design of multi-language resource files, custom Url rewrite, Ajax functionality, etc.
5) excellent operational performance
6) release system in the backg)
- 2012-04-05 11:54:22下载
- 积分:1
-
Shout-Out
这是一个微博,功能具有:用户能发布、回复和转发。还有上传功能。你需要下载MySQLDriverCS(This is a micro-blog, features: a user can post, reply and forward. There upload function. You need to download MySQLDriverCS)
- 2013-06-04 00:20:41下载
- 积分:1
-
程序格式规范说明,这是公司内部的文档,大家可以参考
程序格式规范说明,这是公司内部的文档,大家可以参考-Program format specification, which is the company s internal documents, we can refer to
- 2022-03-26 03:29:12下载
- 积分:1
-
daty-while
表格修改控件,适用于边浏览边修改的地方,用于数据记录编辑更好(Table modification control, suitable for browsing while modifying, for better data record editing)
- 2018-12-05 15:23:16下载
- 积分:1
-
快乐生肖游戏
本人亲自开发的完整版,vs2010编译运行。3.5框架
- 2022-07-02 07:28:46下载
- 积分:1
-
Net企业网站源码
简单的企业网站,数据库是access,包括网站前台和后台。可以作为简单的课程设计使用。
- 2022-04-23 21:23:07下载
- 积分:1
-
.net平台下windowsMobile移动应用与开发内容丰富不可多得的源代码。...
.net平台下windowsMobile移动应用与开发内容丰富不可多得的源代码。-. net platform under the Windows mobile applications and development of content-rich rare source code.
- 2022-03-07 13:25:30下载
- 积分:1
-
应用遗传算法计算城市路径的一个vc和MATLAB程序
应用遗传算法计算城市路径的一个vc和MATLAB程序-genetic algorithm path of a city vc and MATLAB program
- 2023-05-31 00:05:04下载
- 积分:1
-
yan
VB to achieve real multi-threaded operation of the code can go
- 2018-12-03 15:33:52下载
- 积分:1
-
MVVM: 关闭对话框
翻译 maninwest@Codeforge 作者 Cornelius Henning@Codeproject
我学习 MVVM 时遇到一个意外问题,关闭对话框时不如在旧的 WPF 中简单, 尤其是当你想避免背后的代码时。在此示例中,所有代码都在视图的 ViewModel 类中。
使用代码
整个项目是个可下载的 zip 文件。该项目是在Visual Studio 2012 中进行的,针对 .NET 4.5 平台。如要查看演示,请解压缩文件并进行构建。运行时,会显示一个用户,具有一个包含一个按钮的主窗口。单击按钮会打开新的具有两个按钮的对话窗口。单击任何一个按钮会执行有限的代码,然后对话框会关闭。
请注意,为了提高可读性,代码已经少得不能再少了。处理运行时错误的意外手柄也减到最少。如果你要使用此代码,务必要确保最终代码稳健且可处理任何意外或其他错误。
此代码中无使用的约束条件。你可以使用全部或者部分。
实现的说明
对话框的关闭由附加的属性控制。属性设置为 true 时,对话框会关闭。.以下是注册附加事件的代码:
using System; using System.Windows; namespace MvvmDialogDemo.AttachedProperty
{ public static class CloseDialog
{ public static readonly DependencyProperty DialogResultProperty =
DependencyProperty.RegisterAttached("DialogResult", typeof(Boolean?), typeof(CloseDialog),new PropertyMetadata(DialogResultChanged)); private static void DialogResultChanged
(DependencyO
- 2022-08-21 18:18:47下载
- 积分:1