直接上代碼了,很簡單的,一看就OK using System;using System.Collections.Generic;using System.Text;namespace DelegateTest{ class Program { static void Main(string[] args) { Pig p = new Pig(); p.Single += new Pig.SingleDel(p_S
As part of my thesis I measured the performance of some .NET ORM frameworks including NHibernate and Entity Framework. Measuring was done by implementing two simple applications using the same table structure and doing the same operations on the
For some time I have put off implementing lazy-loading in my current project because (ironically) I am lazy. It is just conceptually easier to load the object you want and then move on. I think this due to a brief encounter I had with a
[Updated, 2008-11-20 --> see end of post]One of the questions that is asked again and again in the NHibernate user mailing list is the question about whether NHibernate supports lazy-loading of properties. The answer is NO - at least for the time
一、ORA-12514: TNS:listener does not currently know of service requested in connect 注釋掉的字串改為紅色串即可<connectionStrings><add name="Connection String" connectionString="Data Source=dddd;User ID=xxxx;Password=yyyy"