Loading

05 2012 档案

摘要:As voted on by several thousand members of StackOverflow in this articlehere.The original question was:"If you could go back in time and tell yourself to read a specific book at the beginning of your career as a developer, which book would it be."Since it was first posed back in 2008, this 阅读全文
posted @ 2012-05-15 22:07 .net's 阅读(651) 评论(0) 推荐(0) 编辑
摘要:1. Never Stop Learning and ReadingReadbooks, not just websites.Readfor self-improvement, not just for the latest project.Readabout improving your trade, not just about the latest technology.Some of the books listed here would be a good start:The most influential programming books of all time2. Work 阅读全文
posted @ 2012-05-15 22:01 .net's 阅读(478) 评论(0) 推荐(0) 编辑
摘要:Each connection pool is associated with a distinct connection string. When a new connection is opened, if the connection string is not an exact match to an existing pool, a new pool is created. Conn... 阅读全文
posted @ 2012-05-13 20:34 .net's 阅读(396) 评论(0) 推荐(0) 编辑
摘要:from:http://www.gitguys.com/topics/creating-a-shared-repository-users-sharing-the-repository/ 阅读全文
posted @ 2012-05-12 09:40 .net's 阅读(330) 评论(0) 推荐(0) 编辑
摘要:It’s important to note that a cascading delete in the Entity Framework works only if the de-pendent entity objects are loaded. This can be accomplished using the Include or Load meth-ods. 阅读全文
posted @ 2012-05-08 14:22 .net's 阅读(332) 评论(0) 推荐(0) 编辑
摘要:EXAM TIPFor the exam, understand that the XmlReader provides the fastest means to access XML data and is read-only, forward-only. 阅读全文
posted @ 2012-05-07 13:46 .net's 阅读(319) 评论(0) 推荐(0) 编辑
摘要:The DataContext object manages object identity for you so that rows retrieved from the database table are automatically logged in the DataContext object’s internal identity table by the row’s primary key when the object is created. If the same row is retrieved again by this DataContext object, the o 阅读全文
posted @ 2012-05-07 11:15 .net's 阅读(357) 评论(0) 推荐(0) 编辑
摘要:Transactions have four essential attributes: atomicity, consistency, isolation, and durability (known as the ACID attributes). ■ Atomicity The work cannot be broken into smaller parts. Although... 阅读全文
posted @ 2012-05-05 09:47 .net's 阅读(455) 评论(0) 推荐(1) 编辑
摘要:When DbDataAdapter is used to retrieve or update data, it examines the status of the con- nection. If the connection is open, the DbDataAdapter uses the open connection and leaves the connection... 阅读全文
posted @ 2012-05-04 21:28 .net's 阅读(375) 评论(0) 推荐(0) 编辑
摘要:A DbDataReader object provides a high-performance method of retrieving data from the data store. It delivers a forward-only, read-only, server-side cursor. This makes the DbDataReader object a... 阅读全文
posted @ 2012-05-04 21:04 .net's 阅读(384) 评论(0) 推荐(0) 编辑
摘要:It’s common practice to store connection strings in the Web.config file. This makes it easy to change the connection string without requiring a recompile of the application. However, connec-tion strings can contain logon information such as user names and passwords. You certainly don’t want this inf 阅读全文
posted @ 2012-05-04 16:33 .net's 阅读(394) 评论(0) 推荐(0) 编辑
摘要:EXAM TIPRemember for the exam that setting the RemotingFormat property to SerializationFormat.Binary is required to obtain true binary serialization. 阅读全文
posted @ 2012-05-04 15:21 .net's 阅读(290) 评论(0) 推荐(0) 编辑
摘要://read xml file into datasetDataSet vendorData = new DataSet(); vendorData.ReadXmlSchema(desktopFileName("VendorSchema.xsd")); vendorData.ReadXml(desktopFileName("Vendors3.xml"), XmlReadMode.IgnoreSchema); 阅读全文
posted @ 2012-05-04 15:14 .net's 阅读(279) 评论(0) 推荐(0) 编辑
摘要:When theXmlWriteMode.WriteSchema is used as parameter, the resulting XML file is substantiallylarger. When few files are being generated for this data, this approach is acceptable,but if many files are being created, it would be better to create a separate XSD file that can beloaded before the data. 阅读全文
posted @ 2012-05-04 15:07 .net's 阅读(751) 评论(0) 推荐(0) 编辑
摘要:DataSet cars = new DataSet();cars.WriteXml(desktopFileName("CarWithSchema.xml"), XmlWriteMode.WriteSchema); 阅读全文
posted @ 2012-05-04 14:55 .net's 阅读(292) 评论(0) 推荐(0) 编辑
摘要:TheImportRow method is useful when theCurrentand Original data row version must be maintained. For example, after editing a datatable, you might want to copy the changedDataRow objects to a different data table butmaintain theOriginal and Current data row version. The ImportRow method on the DataTab 阅读全文
posted @ 2012-05-04 14:18 .net's 阅读(330) 评论(0) 推荐(0) 编辑
摘要:These methods can be executed only onDataRow objects whose row state is Unchanged. 阅读全文
posted @ 2012-05-04 14:11 .net's 阅读(425) 评论(0) 推荐(0) 编辑
摘要:Auto incrementing is found in many database products, but how can it possibly workproperly in your application? The connected classes haven’t been covered yet, but you canimagine that at some point you might want to send your new data to a back-end database. Ifyour application supplies the auto-incr 阅读全文
posted @ 2012-05-04 13:48 .net's 阅读(415) 评论(1) 推荐(0) 编辑

点击右上角即可分享
微信分享提示