上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 54 下一页
摘要: A layer of Mappers1 that moves data between objects and a database while keepingthem independent of each other and the mapper itself. -- Martin Fowler 阅读全文
posted @ 2013-01-14 17:31 Master HaKu 阅读(205) 评论(0) 推荐(0)
摘要: functionsubmitForm(){varurl="/RefRoute/InsertTemplate";//alert("submit");varoptions={url:url,type:"POST",success:function(data){if(data=="SUCCESS"){alert("更新成功!");}else{alert("更新失败!");}}};$("#frmRouteTemplate").ajaxSubmit(options) 阅读全文
posted @ 2012-11-06 15:07 Master HaKu 阅读(210) 评论(0) 推荐(0)
摘要: Visual Studio Prompt 阅读全文
posted @ 2012-10-18 17:27 Master HaKu 阅读(277) 评论(0) 推荐(0)
摘要: E:\Subversion>svnserve -d -r E:\svnroot 阅读全文
posted @ 2012-10-08 15:17 Master HaKu 阅读(226) 评论(0) 推荐(0)
摘要: publicclassDestination{publicintDestinationId{get;set;}publicstringName{get;set;}publicstringCountry{get;set;}publicstringDescription{get;set;}publicbyte[]Photo{get;set;}publicList<Lodging>Lodgings{get;set;}}publicclassLodging{publicintLodgingId{get;set;}publicstringName{get;set;}publicstringO 阅读全文
posted @ 2012-09-07 16:00 Master HaKu 阅读(230) 评论(0) 推荐(0)
摘要: - Data Annotations are attributes that you apply directly to theclass or properties that you want to affect. These can be found in the System.ComponentModel.DataAnnotations namespace.classAnimalType{publicintId{get;set;}[Required]publicstringTypeName{get;set;}}when it’s time to SaveChanges, Entity F 阅读全文
posted @ 2012-09-07 13:37 Master HaKu 阅读(333) 评论(0) 推荐(0)
摘要: 今天看了公司的开发库,发觉里面的人有时候滥用这两个东东,觉得有必要整理一下window.parent: iframe页面调用父页面对象a.html<html><head><title>父页面</title></head><body><formname="form1"id="form1"><inputtype="text"name="username"id="username"/></form&g 阅读全文
posted @ 2012-08-30 10:06 Master HaKu 阅读(251) 评论(0) 推荐(0)
摘要: svnadmin create projectname 阅读全文
posted @ 2012-08-14 11:16 Master HaKu 阅读(167) 评论(0) 推荐(0)
摘要: updateCCTDB..Area_InfosetParentStr=b.ParentStrfromCCTDB..Area_InfoainnerjoinTempAreabona.AreaId=b.AreaId 阅读全文
posted @ 2012-08-10 09:47 Master HaKu 阅读(436) 评论(0) 推荐(0)
摘要: 1. 基本概念 Memcached 是一个高性能的分布式内存对象缓存系统,用于动态Web应用以减轻数据库负载。它通过在内存中缓存数据和对象来减少读取数据库的次数,从而提供动态、数据库驱动网站的速度。Memcached基于一个存储键/值对的hashmap。其守护进程(daemon )是用C写的,但是客户端可以用任何语言来编写,并通过memcached协议与守护进程通信。缺点: 它并不提供冗余(例如,复制其hashmap条目);当某个服务器S停止运行或崩溃了,所有存放在S上的键/值对都将丢失。As we know, the current cache in ASP.NET is an in-pr. 阅读全文
posted @ 2012-07-18 16:39 Master HaKu 阅读(987) 评论(0) 推荐(0)
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 54 下一页