<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    blogjava's web log

    blogjava's web log
    ...

    1. Membership/role/profile API: http://quickstarts.asp.net/QuickStartv20/aspnet/doc/security/membership.aspx
    2. SiteMap:
    3. Masterpages::
    4. ASP.NET Ajax:
    5. Localization:
    6. Themes:
    posted @ 2007-06-15 22:26 record java and net 閱讀(398) | 評論 (0)編輯 收藏

    				
    						
    "Failed to lazily initialize a collection"
    				try
    {
    session = Class1.GetFactory().OpenSession();
    Archives archives= session.Get(typeof(Archives), id) as Archives;
    NHibernate.NHibernateUtil.Initialize(archives.ArticlesList);return archives;
    }
    catch (Exception ex)
    {
    throw ex;
    }
    finally { session.Close(); }
    ?或者
    session.CreateCriteria(typeof(Catalog))
    .Add(Expression.Eq("ID"),id)
    .SetFetchMode("Specifications",FetchMode.Join)
    .UniqueResult() as Catalog;


    或者

    left JOIN FETCH

    這樣在session關閉 照樣取他的 級聯對象 ,
    posted @ 2007-06-15 22:23 record java and net 閱讀(1515) | 評論 (0)編輯 收藏

    ActiveWriter is a visual designer, an addin for Visual Studio 2005, to design a domain model and to generate code decorated with ActiveRecord attributes.
    If you are familiar with ActiveRecord, this tool will make your ActiveRecord experience a little easier. If you are not, be sure to check ActiveRecord's web site given above first, there are tons of information to begin with and a great forum if you need some help.
    Please see using.castleproject.org for the documentation.

    ?

    SVN repository at? https://svn.castleproject.org/svn/castlecontrib/activewriter/

    Preview 3 Release - 14/06/2007

    What's new:

    • Now optionally generates NHibernate hbm.xml files.
    • Namespace in generated code is now customizable (Idea: Robert van Hoornaar)
    • Imports in generated code is now customizable (Idea: Robert van Hoornaar)
    • Model classes can override model level base class definition. (Patch: Robert van Hoornaar)
    • Model classes can override model level generics generation. (Idea: Robert van Hoornaar)
    • Contrib-26: Add support for AR Nested / NH Component mappings. Allow the ability to specify a column prefix for active record. (thx: Adam Tybor)
    • Optionally generates classes implementing INotifyPropertyChanged.
    • Support for drag-drop from Server Explorer for MySQL databases. Requires MySQL Connector/Net (5.1). (Patch: Michael Morton)
    • Support for custom types through IUserType. See http://support.castleproject.org/browse/CONTRIB-28#action_11456 for usage. (Patch: Ricardo Stuven)
    • Ability to define a nested class with a different property name than the nested class (Idea: Craig Neuwirt)

    ?

    詳情:
    http://altinoren.com/PermaLink,guid,7043a882-8325-4e48-b956-54868219297c.aspx

    posted @ 2007-06-15 22:21 record java and net 閱讀(610) | 評論 (0)編輯 收藏

    http://www.lingoes.cn/

    靈格斯詞霸 -- 免費的詞典與文本翻譯軟件

    http://maxpda.com/

    posted @ 2007-05-27 10:49 record java and net 閱讀(348) | 評論 (0)編輯 收藏

    Custom Membership and Role Providers using NHibernate

    該工程已經遷入CodePlex

    地址 http://www.codeplex.com/nhibernateprovider

     

    NHibernate Plugin for Visual Studio 2005

    這個Nhibernate插件也可以用用。圖形化設計生成hbm.xml文件和實體類

    感覺還不錯。如何使用可以看看Getting Started with NHibernate Plug-in for Visual Studio 2005

    截2張圖

     設計界面

    屬性值可以設置

     

    最終 生成的配置文件Archives.hbm.xml

    <hibernate-mapping default-cascade="none" xmlns="urn:nhibernate-mapping-2.2">
      <class name="WindowsApplication1.Archives, WindowsApplication1" table="Archives">
        <id name="id" type="System.Int32" column="id" unsaved-value="0">
          <generator class="native" />
        </id>
        <property name="Name" type="System.String" column="name" not-null="false" length="50" />
        <property name="CreateDate" type="System.DateTime" column="createDate" not-null="false" />
      </class>
    </hibernate-mapping>
    posted @ 2007-05-12 22:53 record java and net 閱讀(2499) | 評論 (3)編輯 收藏
    僅列出標題
    共31頁: 上一頁 1 2 3 4 5 6 7 8 9 下一頁 Last 

    導航

    常用鏈接

    留言簿(44)

    新聞檔案

    2.動態語言

    3.工具箱

    9.文檔教程

    友情鏈接

    搜索

    最新評論

    主站蜘蛛池模板: 午夜在线亚洲男人午在线| 亚洲国产一成人久久精品| 亚洲第一页在线视频| 久久久久久AV无码免费网站下载| 亚洲人成人无码网www国产| 国产AV无码专区亚洲AV琪琪| 免费国产美女爽到喷出水来视频| 亚洲一区二区三区高清在线观看| 毛片视频免费观看| 亚洲 日韩 色 图网站| 成年人免费观看视频网站| 亚洲色无码专区一区| 国产在线观看免费视频播放器 | 久久久亚洲欧洲日产国码是AV | 久久WWW免费人成人片| 亚洲小说图区综合在线| 免费观看的毛片手机视频| 国产91成人精品亚洲精品| 在线播放亚洲第一字幕| 一级毛片免费播放| 亚洲综合久久精品无码色欲| 国产在线观看免费视频播放器| 夜夜爽妓女8888视频免费观看| 久久亚洲成a人片| av无码国产在线看免费网站 | 免费国产在线观看| 美女被免费网站91色| 久久精品国产亚洲av日韩| 四虎成人免费观看在线网址| 手机永久免费的AV在线电影网| 亚洲VA中文字幕不卡无码| 中文字幕影片免费在线观看| 久久亚洲AV成人无码国产电影| 精品国产亚洲一区二区在线观看| 一个人看的www免费视频在线观看 一个人免费视频观看在线www | 久久精品九九亚洲精品| 嫩草视频在线免费观看| 久久九九久精品国产免费直播| 亚洲视频.com| 免费一级成人毛片| 久久综合给合久久国产免费|