摘要:http://sourceforge.net/projects/nhibernate/files/NHibernate/
阅读全文
摘要:1.NHibernate使用3中框架动态代理方式(1).Castle框架如果使用Castle.DynamicProxy2动态代理,引用NHibernate.ByteCode.Castle.dll程序集并配置proxyfactory.factory_class<property name="proxyfactory.factory_class"> NHibernate.ByteCode.Castle.ProxyFactoryFactory,NHibernate.ByteCode.Castle</property>(2).LinFu框架如果使用LinFu
阅读全文
摘要:http://sourceforge.net/projects/sqlite-dotnet2/files/SQLite%20for%20ADO.NET%202.0/
阅读全文
摘要:1.引进 名称空间 using System.Runtime.InteropServices;2.注册[DllImport("wininet.dll", CharSet = CharSet.Auto, SetLastError = true)]public static extern bool InternetSetCookie(string lpszUrlName, string lbszCookieName, string lpszCookieData);3.#region 写入cookie// set cookieInternetSetCookie(url, &quo
阅读全文
摘要:http://www.cnblogs.com/wuhuacong/archive/2011/05/17/2049368.html
阅读全文